Skip to content

Commit

Permalink
update the method for adding values to the arguments in the config file
Browse files Browse the repository at this point in the history
  • Loading branch information
szalata committed May 4, 2024
1 parent c9044f4 commit 124a7cf
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/common/create_component/script.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,11 +170,10 @@ def set_par_values(config) -> None:
value = arg.get("default", arg.get("example", "..."))
elif key == "de_train":
value = "resources/neurips-2023-kaggle/de_train.parquet"
elif key == "de_train":
value = "resources/neurips-2023-kaggle/de_train.h5ad"
elif key == "id_map":
value = "resources/neurips-2023-kaggle/id_map.csv"
elif arg.get("direction", "input") == "input":
key_strip = key.replace("input_", "")
value = f'resources_test/{par["task"]}/pancreas/{key_strip}.h5ad'
else:
key_strip = key.replace("output_", "")
value = f'{key_strip}.h5ad'
Expand Down

0 comments on commit 124a7cf

Please sign in to comment.