Skip to content

Commit

Permalink
Merge pull request #10 from plonerma/auto_load_series_trials
Browse files Browse the repository at this point in the history
Auto load series trials
  • Loading branch information
plonerma authored Dec 2, 2024
2 parents 0d94327 + 8fa0b21 commit 2c3b7f3
Show file tree
Hide file tree
Showing 6 changed files with 338 additions and 290 deletions.
3 changes: 2 additions & 1 deletion src/cordage/context.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

from docstring_parser import parse as parse_docstring

from cordage.experiment import Experiment, Series, Trial
from cordage.experiment import Experiment, Series, Status, Trial
from cordage.global_config import GlobalConfig
from cordage.util import ConfigClass, logger, nest_items, nested_update, read_dict_from_file

Expand Down Expand Up @@ -401,6 +401,7 @@ def parse_args(self, args: Optional[list[str]] = None) -> Experiment:
series_kw = {
"function": self.func_name,
"global_config": self.global_config,
"status": Status.PENDING,
"additional_info": {"description": self.description, "parsed_arguments": args},
}

Expand Down
Loading

0 comments on commit 2c3b7f3

Please sign in to comment.