File "/src/nmdc_automation/workflow_automation/workflow_process.py", line 31, in get_required_data_objects_map
if do.data_object_type.code.text not in required_types:
AttributeError: 'NoneType' object has no attribute 'code'
get_required_data_objects_map was doing a find on the data_object_set with no filters. Some data objects do not have a data_object_type, which led to the AttributeError
This PR provides a fix for:
291
Error:
get_required_data_objects_map
was doing a find on the data_object_set with no filters. Some data objects do not have a data_object_type, which led to the AttributeErrorFix is to filter out data objects without a type