Study: Add current scenario into study info.

This commit is contained in:
Pierre-Antoine Rouby committed 2024-08-26 11:20:26 +02:00
1 parent 71b631fbe4
commit 8b9bb68ac5
5 files changed
+123 -27

No files matched your search

+1 -5
View File
@@ -40,6 +40,7 @@ class StudyStatus(object):
@scenario.setter
def scenario(self, scenario):
logger.debug(f"Set scenario to {scenario}")
self._scenario = scenario
@property
@@ -73,9 +74,4 @@ class StudyStatus(object):
if self._saved:
self.version += 1
logger.debug(
"STATUS: Model status set as modified " +
f"at version {self.version}"
)
self._saved = False