Skip to content

Commit

Permalink
#66 linter
Browse files Browse the repository at this point in the history
  • Loading branch information
funkchaser committed Feb 17, 2025
1 parent 13186ae commit e9f9e21
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/aixd_ara/controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -623,7 +623,8 @@ def merge_datasets(root_folder: str, new_dataset_name: str, samples_per_file: in
root_folder: str
Path to the root folder containing the datasets.
new_dataset_name: str
Name of the new dataset. The new dataset will be created in a subfolder with this name. Default is "merged_dataset".
Name of the new dataset. The new dataset will be created in a subfolder with this name. \
Default is "merged_dataset".
If such a folder already exists, it will be overwritten.
Returns:
Expand Down Expand Up @@ -713,7 +714,8 @@ def _load_df(root_folder, dataset_name):

# load data
dataset_new.import_data_from_df(df_all, samples_perfile=samples_per_file, flag_fromscratch=True)
msg += f"New dataset with {len(df_all)} samples has been created in {os.path.join(root_folder, new_dataset_name)}.\n"
msg += f"New dataset with {len(df_all)} samples has been created in \
{os.path.join(root_folder, new_dataset_name)}.\n"
return {"status": status, "msg": msg}


Expand Down

0 comments on commit e9f9e21

Please sign in to comment.