File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -1215,8 +1215,8 @@ class ProblemConfig(BaseModel):
12151215 def to_yaml (self , filename : str | Path ):
12161216 """Write the configuration to a YAML file.
12171217
1218- filename: Destination file name. The parent directory will be created
1219- if necessary.
1218+ :param filename: Destination file name. The parent directory will be
1219+ created if necessary.
12201220 """
12211221 from .yaml import write_yaml
12221222
Original file line number Diff line number Diff line change @@ -993,6 +993,7 @@ class ModelFile(BaseModel):
993993class SubProblem (BaseModel ):
994994 """A `problems` object in the PEtab problem configuration."""
995995
996+ # TODO: consider changing str to Path
996997 model_files : dict [str , ModelFile ] | None = {}
997998 measurement_files : list [str | AnyUrl ] = []
998999 condition_files : list [str | AnyUrl ] = []
@@ -1031,8 +1032,8 @@ class ProblemConfig(BaseModel):
10311032 def to_yaml (self , filename : str | Path ):
10321033 """Write the configuration to a YAML file.
10331034
1034- filename: Destination file name. The parent directory will be created
1035- if necessary.
1035+ :param filename: Destination file name. The parent directory will be
1036+ created if necessary.
10361037 """
10371038 from ..v1 .yaml import write_yaml
10381039
You can’t perform that action at this time.
0 commit comments