Skip to content

Commit

Permalink
Merge branch 'main' of github.com:DIDONEproject/musiF
Browse files Browse the repository at this point in the history
  • Loading branch information
martianbug committed Oct 2, 2024
2 parents 3048288 + 485a3c8 commit d5eb7b1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
3 changes: 3 additions & 0 deletions docs/source/Acknowledgments.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
9 changes: 7 additions & 2 deletions run_extraction_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit d5eb7b1

Please sign in to comment.