Skip to content

Commit

Permalink
Merge pull request #41 from molssi-seamm/dev
Browse files Browse the repository at this point in the history
Bugfix: Issue with initialization in subflowcharts
  • Loading branch information
seamm authored Dec 14, 2024
2 parents 98c1f65 + 9857222 commit ffa2e9c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
=======
History
=======
2024.12.14 -- Bugfix: Issue with initialization in subflowcharts

2024.10.20 -- Added the standard results for drivers
* Added the standard results -- energy, gradients, and model -- that can be written
to Results.json for drivers like Structure Step and Thermochemistry Step.
Expand Down
3 changes: 2 additions & 1 deletion dftbplus_step/dftbplus.py
Original file line number Diff line number Diff line change
Expand Up @@ -409,6 +409,8 @@ def run(self):
seamm.Node
The next node object in the flowchart.
"""
next_node = super().run(printer)

system, configuration = self.get_system_configuration(None)
n_atoms = configuration.n_atoms
if n_atoms == 0:
Expand All @@ -428,7 +430,6 @@ def run(self):
note="The principle DFTB+ citation.",
)

next_node = super().run(printer)
# Get the first real node
start = self.subflowchart.get_node("1")
node = start.next()
Expand Down

0 comments on commit ffa2e9c

Please sign in to comment.