Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ladinesa committed Sep 17, 2024
1 parent 4129622 commit 0983ea8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion atomisticparsers/ase/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

from nomad.utils import configure_logging
from nomad.datamodel import EntryArchive
from atomisticparsers.asap import AseParser
from atomisticparsers.ase import AseParser

if __name__ == '__main__':
configure_logging(console_log_level=logging.DEBUG)
Expand Down
3 changes: 1 addition & 2 deletions atomisticparsers/utils/parsers.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
)
from simulationworkflowschema.molecular_dynamics import (
MolecularDynamics,
MolecularDynamicsMethod,
)


Expand Down Expand Up @@ -183,7 +182,7 @@ def parse_md_workflow(self, data: Dict[str, Any]) -> None:
if self.archive is None:
return

sec_workflow = self.archive.workflow2 or MolecularDynamics()
sec_workflow = MolecularDynamics()
self.parse_section(data, sec_workflow)
self.archive.workflow2 = sec_workflow

Expand Down

0 comments on commit 0983ea8

Please sign in to comment.