Commit c575b5a2 authored by Berk Onat's avatar Berk Onat
Browse files

Fix: do not add section_system if there are no topology or trajectory files

parent 2aebb6ed
Pipeline #15610 failed with stage
in 7 minutes and 44 seconds
......@@ -612,6 +612,8 @@ class AMBERParser(AmberC.AMBERParserBase):
if(self.topology is not None or
self.atompositions is not None):
self.onOpen_section_system(backend, None, None)
self.onClose_section_system(backend, None, None)
backend.superBackend.closeSection("section_single_configuration_calculation", self.secSingleGIndex)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment