diff --git a/docs/source/Acknowledgments.md b/docs/source/Acknowledgments.md index 55a1dbf4..3893562d 100644 --- a/docs/source/Acknowledgments.md +++ b/docs/source/Acknowledgments.md @@ -32,6 +32,9 @@ documentation and website. He tested the library on multiple corpora. **Paula Muñoz-Lago**, computer scientist, contributed to the initial code and first stages of the tool. +**Carlos Vaquero Patricio**, received a PhD from the Institute for Logic, Language and Computation (Music Cognition Group) at the University of Amsterdam. Joined Didone as a postdoc researcher (Data Scientist) in 2023. Contributed to the final stages of musif, debugging, developing and making it accessible to the MIR community. + + ### Acknowledgments `musif` is a result of the Didone Project, which has received funding from the European Research Council (ERC) under the European Union’s Horizon 2020 research and innovation diff --git a/run_extraction_example.py b/run_extraction_example.py index f28cf160..a479914c 100644 --- a/run_extraction_example.py +++ b/run_extraction_example.py @@ -20,8 +20,13 @@ cache_dir = None # csv file containing files which raised error and need to be reextracted -# path_error = 'error_files.csv' -# errored_files = list(pd.read_csv(path_error, low_memory=False)[FILE_NAME]) +try: + path_error = f'{DEST_PATH}/error_files.csv' + errored_files = list(pd.read_csv(path_error, low_memory=False)[FILE_NAME]) +except Exception: + # Handle the case where there is no file is empty + print("There is no error_files.csv, it will be created and loaded error files are included manually in it.") + pass # In case a partial extraction has been run, set here the previous df to avoid re-extracting these files. # prev_path = str(prefix / NAME) + '.csv'