Skip to content

Commit

Permalink
fixed xyz file reading error
Browse files Browse the repository at this point in the history
  • Loading branch information
efrembernuz committed Dec 16, 2020
1 parent 91c9a7f commit 2868f7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cosymlib/file_io/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def get_geometry_from_file_xyz(file_name, read_multiple=False):
if read_multiple:
geometries.append(molecule)
else:
return geometries[0]
return molecule

return geometries

Expand Down

0 comments on commit 2868f7b

Please sign in to comment.