Closed davidorme closed 1 year ago
With the deletion of the online taxon fallback option (#31) , this is now a bit more of an issue. Still a niche use case.
I'm going to close this - it is extremely niche.
The fix would be to allow resources to load without any of the four 'top' resources (taxon db and location data), just to allow use by someone who only needs the zenodo
and safedata_server
configuration items and never does any actual validation. That would then require a huge amount of resource checking for the core validation rather than just being able to assume resources are complete.
If this ever became an issue, the simplest way is probably to simply split into two Resources: ValidationResources and MetadataResources.
The
safedata_zenodo
script andzenodo.py
has no need of the taxon databases or locations file, but the config file must include them. That means a user who is only ever going to be handling data upload and publication still has to configure the local validation resources. That is really only the locations file, because of the online taxon validation fallback, but still...This is an extremely niche use case issue, but jotting it down because it just happened to me.