Project

General

Profile

Feature #16583

Updated by Peter Amstutz almost 4 years ago

Output collections have properties "container_request: <uuid>" and "type: output".    This allows workbench2 to offer a filter on outputs, logs, and general. 

 Similar to how I can filter on just top level containers, I'd like to be able to filter on top level outputs.    We also want to be able to do scripted cleaning up of intermediate outputs while leaving the final output alone. 

 Top level containers have "requested_by_container_uuid: null".    Technically we could look up the container request for each collection to determine if it is top level or not, but that can't be written as a single query filter. 

 Proposed approach: 

 When finalizing the container request, the collection is still marked "type: output", and add a property "intermediate_output: true/false".    A migration can add this property to existing collections with "type: output" by joining container_uuid property with the container_requests table and checking requested_by_container_uuid. 

Back