This pull request changes the CromwellMetadata class in the way it allows to be used with metadata that comes form the sub-workflow. Such a file would not have a 'submittedFiles' key because it is governed by the root workflow.
Purpose:
It allows the Croo package to be used within a workflow itself ie. root workflow calls subworkflow that does the job and next sub-workflow will organise files from the previous one as a last step without manual intervention from the user.
This pull request changes the CromwellMetadata class in the way it allows to be used with metadata that comes form the sub-workflow. Such a file would not have a 'submittedFiles' key because it is governed by the root workflow.
Purpose: It allows the Croo package to be used within a workflow itself ie. root workflow calls subworkflow that does the job and next sub-workflow will organise files from the previous one as a last step without manual intervention from the user.