Skip to content

Commit

Permalink
Merge pull request #1 from molssi-seamm/dev
Browse files Browse the repository at this point in the history
Updated for new task handling
  • Loading branch information
seamm authored May 26, 2024
2 parents 59266c5 + 64f75d2 commit 69f91d8
Show file tree
Hide file tree
Showing 3 changed files with 112 additions and 169 deletions.
5 changes: 4 additions & 1 deletion HISTORY.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
=======
History
=======

2024.5.26 -- Updated for new task handling
* The new handling of running tasks such as LAMMPS required a small change in the
code.

2023.9.5 -- Changed default to using only MSD
* The Helfand moments approach seems give incorrect results if the sampling time is
too long. It is not dramatic, but gives increasingly incorrect results as the
Expand Down
5 changes: 4 additions & 1 deletion diffusivity_step/diffusivity.py
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@ def analyze(self, indent="", P=None, style="full", run=None, **kwargs):
)
length = len(tmp.splitlines()[0])
text += "\n"
text += f"Diffusion Coefficients (* {self._scale:.1e})".center(length)
text += f"Diffusion Coefficients (* {self._scale:.1e} m^2/s)".center(length)
text += "\n"
text += tmp
text += "\n"
Expand Down Expand Up @@ -588,6 +588,9 @@ def description_text(self, P=None, short=False):
# The subflowchart
self.subflowchart.root_directory = self.flowchart.root_directory

# Make sure that the subflowchart has the executor
self.subflowchart.executor = self.flowchart.executor

# Get the first real node
node = self.subflowchart.get_node("1").next()

Expand Down
Loading

0 comments on commit 69f91d8

Please sign in to comment.