Skip to content

Simulation.results does not take into account working directory #7

@FranseFrikandel

Description

@FranseFrikandel

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.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

Status

In Progress

Relationships

None yet

Development

No branches or pull requests

Issue actions