From 6a7eeee453fdcd43e0ccf37599e171efdc65d49e Mon Sep 17 00:00:00 2001 From: carlos Date: Wed, 2 Oct 2024 14:32:12 +0200 Subject: [PATCH 1/2] user agnostic and acknowledgements --- docs/source/Acknowledgments.md | 3 +++ run_extraction_example.py | 10 ++++++++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/docs/source/Acknowledgments.md b/docs/source/Acknowledgments.md index 55a1dbf4..c4071d06 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**, Joined the project as a Data Scientist postdoc researcher in 2023 and has contributed to debugging musif, developing its final stages as well as 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 c596f665..2005eee1 100644 --- a/run_extraction_example.py +++ b/run_extraction_example.py @@ -21,8 +21,14 @@ cache_dir = None # csv file containing files which raised error and need to be reextracted -path_error = 'martiser/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' From d6f4697cac26cd3c8e3b8308b9eba64768bd2d1b Mon Sep 17 00:00:00 2001 From: carlos Date: Wed, 2 Oct 2024 14:52:13 +0200 Subject: [PATCH 2/2] acknowledgements --- docs/source/Acknowledgments.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/Acknowledgments.md b/docs/source/Acknowledgments.md index c4071d06..3893562d 100644 --- a/docs/source/Acknowledgments.md +++ b/docs/source/Acknowledgments.md @@ -32,7 +32,7 @@ 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**, Joined the project as a Data Scientist postdoc researcher in 2023 and has contributed to debugging musif, developing its final stages as well as making it accessible to the MIR community. +**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