[Feature] Remove invalid handling of 'data' output as if it was a valid File reference #185
Labels
feature/CWL
Issue related to CWL support
feature/job
Issues related to job execution, reporting and logging.
project/CRIM-DEVOPS
Project linked to the CRIM project DevOps/Weaver (https://crim-ca.atlassian.net/browse/GD-47).
project/DACCS
Related to DACCS project (https://github.com/orgs/DACCS-Climate)
triage/enhancement
New feature or request
triage/feature
New requested feature.
Inside
weaver.processes.wps_package.WpsPackage.make_location_outputs
, some handling of non-File type resulting from CWL execution is still being done. (backward compatibility)weaver/weaver/processes/wps_package.py
Lines 2240 to 2251 in de7905c
This allows output 'string' type to refer to some actual file as literal data, but makes it hard to maintain and predict behavior of the application execution as we still need to adjust internal paths in order to make it available on WPS-outputs URL. It is even more complicated when an actual string should be returned from a given process (which action to take cannot be guaranteed).
To motivate correct writing of CWL application packages, we should enforce using File for such references. A string will simply be returned as is, just like any other literal data output.
Relates to DAC-533
The text was updated successfully, but these errors were encountered: