Skip to content
This repository has been archived by the owner on Nov 27, 2024. It is now read-only.

Commit

Permalink
Update damaskjob.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-janssen authored Dec 1, 2023
1 parent c9a4386 commit a8a6779
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyiron_continuum/damask/damaskjob.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,14 +91,14 @@ def collect_output(self):
self._load_results()
self.output.damask = self._results

def _load_results(self, file_name="damask_loading.hdf5"):
def _load_results(self, file_name="damask_loading_material.hdf5"):
"""
loads the results from damask hdf file
Args:
file_name(str): path to the hdf file
"""
if self._results is None:
if file_name != "damask_loading.hdf5":
if file_name != "damask_loading_material.hdf5":
self._damask_hdf = os.path.join(self.working_directory, file_name)

self._results = Result(self._damask_hdf)
Expand Down

0 comments on commit a8a6779

Please sign in to comment.