Skip to content
Snippets Groups Projects
Commit 259b4d5b authored by Baptiste Bauvin's avatar Baptiste Bauvin
Browse files

Simplified dataset serching

parent 8d60e700
No related branches found
No related tags found
No related merge requests found
Pipeline #3703 failed
...@@ -308,9 +308,6 @@ def gen_direcorties_names(directory, stats_iter): ...@@ -308,9 +308,6 @@ def gen_direcorties_names(directory, stats_iter):
def find_dataset_names(path, type, names): def find_dataset_names(path, type, names):
"""This function goal is to browse the dataset directory and extrats all """This function goal is to browse the dataset directory and extrats all
the needed dataset names.""" the needed dataset names."""
config_path = os.path.dirname(os.path.abspath(__file__))
config_path = os.path.join(config_path, "../..")
path = os.path.join(config_path, path)
available_file_names = [file_name.strip().split(".")[0] available_file_names = [file_name.strip().split(".")[0]
for file_name in os.listdir(path) for file_name in os.listdir(path)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment