Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugfix: error if used in a loop and previous directories deleted. #36

Merged
merged 1 commit into from
Oct 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
=======
History
=======
2024.10.15 -- Bugfix: error if used in a loop and previous directories deleted.
* The code crashed if called with a loop in the flowchart, and the last directory of
a previous loop iteration was deleted before running the next iteration.

2024.10.5 -- Enhancements and bug fixes for thermochemistry
* Improved GUI for thermochemistry so that it automatically recognizes whether it is
after e.g. an optimization and configures appropriately.
Expand Down
4 changes: 2 additions & 2 deletions psi4_step/psi4.py
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,8 @@ def run(self):
The next node object in the flowchart.

"""
next_node = super().run(printer)

printer.important(self.header)
printer.important("")

Expand Down Expand Up @@ -346,8 +348,6 @@ def run(self):
# Work through the subflowchart to find out what to do.
self.subflowchart.root_directory = self.flowchart.root_directory

next_node = super().run(printer)

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

Expand Down
Loading