Skip to content

Commit

Permalink
fixed PDB parsing where "TER" identifier is present but "END" identif…
Browse files Browse the repository at this point in the history
…ier is missing
  • Loading branch information
Lucandia committed Dec 18, 2024
1 parent 0c1ae9b commit fd49318
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion analysis/src/oxDNA_analysis_tools/PDB_oxDNA.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,9 +206,12 @@ def end_system():
end_system()
continue

# Catch the case where there was no TER or END identifier
# Catch the case where there was no TER identifier
if len(strand) > 0:
end_strand()

# Catch the case where there was no END identifier
if len(sys) > 0:
end_system()

return configs, systems
Expand Down

0 comments on commit fd49318

Please sign in to comment.