provide Path object as input to ConfigSettings

This commit is contained in:
Michael Lindner 2024-03-26 17:20:10 +01:00
parent ecbde16575
commit 89dbd53805
2 changed files with 3 additions and 1 deletions

View File

@ -10,6 +10,8 @@ Release Notes
Upcoming Release Upcoming Release
================ ================
* bugfix: convert Strings to pathlib.Path objects as input to ConfigSettings
* Allow the use of more solvers in clustering (Xpress, COPT, Gurobi, CPLEX, SCIP, MOSEK). * Allow the use of more solvers in clustering (Xpress, COPT, Gurobi, CPLEX, SCIP, MOSEK).
* Enhanced support for choosing different weather years * Enhanced support for choosing different weather years

View File

@ -427,7 +427,7 @@ def mock_snakemake(
configfiles = [configfiles] configfiles = [configfiles]
resource_settings = ResourceSettings() resource_settings = ResourceSettings()
config_settings = ConfigSettings(configfiles=configfiles) config_settings = ConfigSettings(configfiles=map(Path, configfiles))
workflow_settings = WorkflowSettings() workflow_settings = WorkflowSettings()
storage_settings = StorageSettings() storage_settings = StorageSettings()
dag_settings = DAGSettings(rerun_triggers=[]) dag_settings = DAGSettings(rerun_triggers=[])