Fix jobs panel KeyErrors
Checklist
-
documentation is changed or added in./docs
-
unit tests updated to test changes
Description
Layout
- Use
dict.get()
for job ID lookup instead of direct indexing, returnNone
if task not found inHopprLayout.job_id_map
Utils
-
hoppr.utils.plugin_instance
: if instance'ssupported_purl_types
is empty list, populate list with all PURL types before returning
Processor
- Skip adding plugin to jobs panel if the class doesn't have a
collect
method defined, but still add it to stage'splugin_ref_list
Miscellaneous
- Refactor
bundle_tar.py
to usepathlib
and simplify logic - Update
PurlType
enum member names' casing for future console output use. Preserve existing functionality by adding__str__()
and_missing_()
methods
Closes #289 (closed)