From 974aa08e144ff1cac6e8063d29085206b492b23e Mon Sep 17 00:00:00 2001 From: "Oleg E. Peil" Date: Thu, 20 Apr 2017 13:58:24 +0200 Subject: [PATCH] Fixed a bug in reading scale from POSCAR in PLOVasp --- python/converters/plovasp/vaspio.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/converters/plovasp/vaspio.py b/python/converters/plovasp/vaspio.py index ad268de8..f460b61a 100644 --- a/python/converters/plovasp/vaspio.py +++ b/python/converters/plovasp/vaspio.py @@ -363,7 +363,7 @@ class Poscar: # Read scale sline = readline_remove_comments() - ascale = float(sline[0]) + ascale = float(sline) # Read lattice vectors self.a_brav = np.zeros((3, 3)) for ia in xrange(3):