Skip to content

Commit

Permalink
Merge pull request #6 from molssi-seamm/dev
Browse files Browse the repository at this point in the history
Bugfix: error if used in a loop and previous directories deleted.
  • Loading branch information
seamm authored Oct 15, 2024
2 parents cccfacf + cf61f17 commit 08e9f7b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
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.5.12.1 -- Fixed problem with commandline in Docker
* There was a problem in the commandline for running TorchANI in a Docker container.

Expand Down
4 changes: 2 additions & 2 deletions torchani_step/torchani.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,15 +209,15 @@ def run(self):
directory = Path(self.directory)
directory.mkdir(parents=True, exist_ok=True)

next_node = super().run(printer)

# Print our header to the main output
printer.important(self.header)
printer.important("")

# Access the options and find the executable
seamm_options = self.global_options

next_node = super().run(printer)

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

Expand Down

0 comments on commit 08e9f7b

Please sign in to comment.