You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It appears that in the Simulation class (pyccx/analysis/analysis.py), the working directory that was set on object creation is not taken into account when trying to retrieve the results using the results() function. This causes a file not found error when trying to retrieve the results of an analysis when the working directory is not the same as the directory the python script was executed from.
Changing line 500 from: return ResultProcessor('input')
To: return ResultProcessor(os.path.join(self._workingDirectory, 'input'))
Appears to resolve this issue.
The text was updated successfully, but these errors were encountered:
It appears that in the Simulation class (pyccx/analysis/analysis.py), the working directory that was set on object creation is not taken into account when trying to retrieve the results using the results() function. This causes a file not found error when trying to retrieve the results of an analysis when the working directory is not the same as the directory the python script was executed from.
Changing line 500 from:
return ResultProcessor('input')
To:
return ResultProcessor(os.path.join(self._workingDirectory, 'input'))
Appears to resolve this issue.
The text was updated successfully, but these errors were encountered: