broadinstitute/fiss

Setting deleteIntermediateOutputFiles=True with create_submission()

Closed this issue · 0 comments

kvg commented

I'm using the create_submission() method in the fiss API to submit jobs programmatically. From the response JSON, I see there's an option to have the workflow delete intermediate files:

...
  "request": {
    "deleteIntermediateOutputFiles": "False",
    "entityName": "CDH5-11_Proband",
    "entityType": "sample_set",
    "memoryRetryMultiplier": 1,
    "methodConfigurationName": "PBCLRWholeGenome",
    "methodConfigurationNamespace": "production-long-reads",
    "useCallCache": "True",
    "useReferenceDisks": "False",
    "userComment": "None"
  },
  "status": "Submitted",
  "submissionDate": "2022-01-03T06:52:35.185Z",
...

Currently I think create_submission() can only set 'useCallCache'. Can the create_submission() method be updated to enable setting 'deleteIntermediateOutputFiles' option for new job submissions?