Skip to content

Commit

Permalink
make workflow-dir available as st.session_state for Files
Browse files Browse the repository at this point in the history
  • Loading branch information
axelwalter committed Feb 14, 2024
1 parent af54b2f commit 3643a7f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/workflow/WorkflowManager.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ class WorkflowManager:
def __init__(self, name: str = "Workflow Base"):
self.name = name
self.workflow_dir = Path(st.session_state["workspace"], self.name.replace(" ", "-").lower())
st.session_state["workflow-dir"] = str(self.workflow_dir)
self.parameter_manager = ParameterManager(self.workflow_dir)
self.logger = Logger(self.workflow_dir)
self.executor = CommandExecutor(self.workflow_dir, self.logger, self.parameter_manager)
Expand Down

0 comments on commit 3643a7f

Please sign in to comment.