File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -49,17 +49,16 @@ def print(self):
4949
5050
5151class Config (ConfigMixin ):
52- """Representation of configuration file for running the pipeline.
52+ """Representation of configuration file for running the pipeline."""
53+
54+ def load_default (self , kind = "adults" ):
55+ """Get the default pylossless config file.
5356
5457 Parameters
5558 ----------
5659 kind : str | pathlib.Path
5760 Can be either 'adults' or 'infants'. Default to 'adults'.
58- """
59-
60- def load_default (self , kind = "adults" ):
61- """Get the default pylossless config file."""
62-
61+ """
6362 path = Config .DEFAULT_CONFIG_PATH / f"ll_default_config_{ kind } .yaml"
6463 if not path .exists ():
6564 raise ValueError (f"No default configuration for kind '{ kind } '." )
You can’t perform that action at this time.
0 commit comments