waleedev01 / analytics_automated_v2

Middleware layer for exposing analytics and distributed computing jobs as web services
Other
1 stars 0 forks source link

Detect envVarRequirement and create environment record in database #63

Closed Cenxn closed 2 months ago

Cenxn commented 2 months ago
  1. ignore the environment variable for dynamic value (with $), which should be generated during the Celery task generation
  2. only generate environment variable for Task (commandLineTool), the envVarRequirement defined in the workflow should be inherited, but there is some potential issue.
1719854881082
  1. if a workflow cwl file also contains envVarReq (example analytics_automated/tests/example_cwl_file/fake_workflow.cwl), it should transfer this value to all its tasks, and hence the task could then inherit the env variable.

1719948042657

Lack of multiple file update feature

If we upload the cwl task file and cwl workflow as different files (from lines 45-57 in cwl_workflow_handler), the task file will not be updated (lack code to hold this function)!