Skip to content

Commit

Permalink
Adapt changes to atomutils (#126)
Browse files Browse the repository at this point in the history
* Adapt changes to atomutils

* Update dep
  • Loading branch information
ladinesa authored Sep 10, 2024
1 parent cedaf41 commit eebca28
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion atomisticparsers/gromacs/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
x_gromacs_section_input_output_files,
)
from atomisticparsers.utils import MDAnalysisParser, MDParser
from nomad.atomutils import get_bond_list_from_model_contributions
from simulationworkflowschema.molecular_dynamics import get_bond_list_from_model_contributions

re_float = r'[-+]?\d+\.*\d*(?:[Ee][-+]\d+)?'
re_n = r'[\n\r]'
Expand Down
2 changes: 1 addition & 1 deletion atomisticparsers/lammps/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
x_lammps_section_control_parameters,
)
from atomisticparsers.utils import MDAnalysisParser, MDParser
from nomad.atomutils import get_bond_list_from_model_contributions
from simulationworkflowschema.molecular_dynamics import get_bond_list_from_model_contributions


re_float = r'[-+]?\d+\.*\d*(?:[Ee][-+]\d+)?'
Expand Down
3 changes: 2 additions & 1 deletion atomisticparsers/utils/mdanalysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@

from nomad.units import ureg
from nomad.parsing.file_parser import FileParser
from nomad.atomutils import BeadGroup, shifted_correlation_average
from simulationworkflowschema.molecular_dynamics import BeadGroup, shifted_correlation_average


MOL = 6.022140857e23

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ dependencies = [
"nomad-schema-plugin-run@git+https://github.com/nomad-coe/nomad-schema-plugin-run.git@develop",
"simulationparsers@git+https://github.com/nomad-coe/simulation-parsers.git@develop",
"lxml>=5.2",
"MDAnalysis",
"mdanalysis==2.7.0",
"panedr>=0.2",
"scipy>=1.7.1",
"pydantic>=1.10.8,<2.0.0",
Expand Down

0 comments on commit eebca28

Please sign in to comment.