From 5c3a3ad459caacbc0dcaea460ba214ecd6e80e36 Mon Sep 17 00:00:00 2001 From: FranseFrikandel Date: Sat, 2 Sep 2023 14:30:34 +0200 Subject: [PATCH] results() function looks in working directory --- pyccx/analysis/analysis.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyccx/analysis/analysis.py b/pyccx/analysis/analysis.py index 383404d..37b622b 100644 --- a/pyccx/analysis/analysis.py +++ b/pyccx/analysis/analysis.py @@ -497,7 +497,7 @@ def results(self) -> ResultProcessor: The results obtained after running an analysis """ if self.isAnalysisCompleted(): - return ResultProcessor('input') + return ResultProcessor(os.path.join(self._workingDirectory, 'input')) else: raise ValueError('Results were not available')