Skip to content

Commit

Permalink
Attempt at resolving issue #33
Browse files Browse the repository at this point in the history
  • Loading branch information
Neonbluestoplight authored and patrick-austin committed Mar 4, 2024
1 parent 73d5032 commit c7f7ef7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/galaxy/datatypes/molecules.py
Original file line number Diff line number Diff line change
Expand Up @@ -1019,7 +1019,7 @@ def sniff_prefix(self, file_prefix: FilePrefix) -> bool:
# 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
Expand Down

0 comments on commit c7f7ef7

Please sign in to comment.