Simplify finding accessions #32
Labels
fixity
Related to validate_fixity.py
format_list
Related to format_list.py
risk_update
Related to risk_update.py
Hub has been updated so the path is always parent_directory/status/collection/accession/content and so the collection and accession number formats are more consistent.
Three scripts are iterating through the entire directory (including accession content) with os.walk() looking for markers to indicate a collection or accession in order to allow the script to start at any point. If this becomes too slow, see if we can iterate in a way that stops going down a branch in the directory once it gets to a collection or accession, or if we can add an additional argument to indicate if the start is parent_directory, status, or collection so that the paths can be made without iteration.
The text was updated successfully, but these errors were encountered: