From 64605e3267416112c915c3cb871b7865922ed682 Mon Sep 17 00:00:00 2001 From: Oleg Peil Date: Fri, 4 May 2018 16:10:36 +0200 Subject: [PATCH] Fixed VaspConverter to read ion sorts properly --- python/converters/vasp_converter.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/python/converters/vasp_converter.py b/python/converters/vasp_converter.py index 4362af85..8642644c 100644 --- a/python/converters/vasp_converter.py +++ b/python/converters/vasp_converter.py @@ -166,8 +166,7 @@ class VaspConverter(ConverterTools): pars = {} pars['atom'] = ion # We set all sites inequivalent -# pars['sort'] = sh['ion_sort'] - pars['sort'] = ion + pars['sort'] = sh['ion_sort'][i] pars['l'] = sh['lorb'] pars['dim'] = sh['ndim'] pars['SO'] = SO