Skip to content

Commit

Permalink
Trigger normalization of md sub sections
Browse files Browse the repository at this point in the history
  • Loading branch information
ladinesa committed Dec 12, 2023
1 parent 5ec5d8b commit 3bed8e5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions simulationworkflowschema/molecular_dynamics.py
Original file line number Diff line number Diff line change
Expand Up @@ -882,6 +882,7 @@ def normalize(self, archive, logger):
if rdf_results:
sec_rdfs = RadialDistributionFunction()
sec_rdfs._rdf_results = rdf_results
sec_rdfs.normalize(archive, logger)
self.radial_distribution_functions.append(sec_rdfs)

# calculate the molecular mean squared displacements
Expand All @@ -890,6 +891,7 @@ def normalize(self, archive, logger):
if msd_results:
sec_msds = MeanSquaredDisplacement()
sec_msds._msd_results = msd_results
sec_msds.normalize(archive, logger)
self.mean_squared_displacements.append(sec_msds)

# calculate radius of gyration for polymers
Expand Down Expand Up @@ -921,6 +923,7 @@ def normalize(self, archive, logger):

sec_rgs = RadiusOfGyration()
sec_rgs._rg_results = rg
sec_rgs.normalize(archive, logger)
self.radius_of_gyration.append(sec_rgs)

for calc in sec_calc:
Expand Down

0 comments on commit 3bed8e5

Please sign in to comment.