Skip to content

Commit

Permalink
Fixed paths
Browse files Browse the repository at this point in the history
  • Loading branch information
Enrico Stragiotti committed Dec 13, 2024
1 parent 93a4bea commit fc53bf6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/fastoad/cmd/doe.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,8 @@ def _write_doe_inputs(self):
doe_points_upd = point_list[:, self.variables_binding]
doe_points_df_nest = pd.DataFrame(doe_points_upd, columns=self.var_names_pseudo)
doe_points_df_nest.to_csv(
self.destination_folder / file_name + f"_{level_count}D_level{i}" + ".csv",
self.destination_folder
/ (file_name + f"_{level_count}D_level{i}" + ".csv"),
index_label="ID",
sep=";",
quotechar="|",
Expand All @@ -165,7 +166,7 @@ def _write_doe_inputs(self):
columns=self.var_names_pseudo_mapping
) # Use pseudos for outputs
doe_points.to_csv(
self.destination_folder / file_name + ".csv",
self.destination_folder / (file_name + ".csv"),
index_label="ID",
sep=";",
quotechar="|",
Expand Down

0 comments on commit fc53bf6

Please sign in to comment.