Skip to content

Commit

Permalink
Refactor Orchestrator class in core.py to include before and after tr…
Browse files Browse the repository at this point in the history
…ial cooling times, setup plugins, and end trial plugins
  • Loading branch information
cyanxiao committed May 2, 2024
1 parent f956add commit fe784f8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions midori/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ def __init__(
hostname: str,
username: str,
password: str,
before_experiment_plugins: List[Type[PluginHelper]],
before_trial_cooling_time: int,
setup_plugins: List[Type[PluginHelper]],
trial_timespan: int,
end_trial_plugins: List[Type[PluginHelper]],
after_trial_cooling_time: int,
end_experiment_plugins: List[Type[PluginHelper]],
variables: Dict[str, List[str]],
subject_path: str,
before_experiment_plugins: List[Type[PluginHelper]] = [],
setup_plugins: List[Type[PluginHelper]] = [],
end_trial_plugins: List[Type[PluginHelper]] = [],
end_experiment_plugins: List[Type[PluginHelper]] = [],
) -> None:
self.__before_experiment_plugins: List[Type[PluginHelper]] = (
before_experiment_plugins
Expand Down

0 comments on commit fe784f8

Please sign in to comment.