diff --git a/cadCAD/tools/preparation.py b/cadCAD/tools/preparation.py index 795a9018..6ffab1e1 100644 --- a/cadCAD/tools/preparation.py +++ b/cadCAD/tools/preparation.py @@ -26,7 +26,7 @@ def sweep_cartesian_product(sweep_params: SweepableParameters) -> SweepableParam transpose_cartesian_product = zip(*cartesian_product) zipped_sweep_params = zip(sweep_params.keys(), transpose_cartesian_product) sweep_dict = dict(zipped_sweep_params) - sweep_dict = {k: tuple(v) for k, v in sweep_dict.items()} + sweep_dict = {k: list(v) for k, v in sweep_dict.items()} return sweep_dict @@ -70,4 +70,4 @@ def run(self, *args, **kwargs) -> DataFrame: self.samples, *args, **kwargs) - return output \ No newline at end of file + return output