Attempt at resolving issue #33

This commit is contained in:
Nalin Gupta
2024-03-04 10:17:48 +00:00
committed by Patrick Austin
parent 73d5032d1b
commit c7f7ef73b1
+1 -1
View File
@@ -1019,7 +1019,7 @@ class CIF(AtomicStructFile):
# first non-comment line must begin with 'data_'
# and '_atom_site_fract_(x|y|z)' must be specified somewhere in the file
for line in file_prefix.line_iterator():
if not line:
if not line.rstrip():
continue
elif line[0] == "#": # comment so skip
continue