You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a CWL output glob pattern (ex: glob: "*.nc") is employed, the output of the WPS app should automatically define maxOccurs="unbounded", or any overriding maxOccurs value specified in the Deploy body.
Also, this output should be considered as an array (list), so that wps_package collects multiple files/data here:
self.logger.info("Resolved WPS output [%s] as literal data", output_id)
We could explore the use of a builtin app array2single for cases where glob is used to collect an expected unique output.
When an unique file glob pattern is used (ex: glob: "output.nc"), then the process should automatically define maxOccurs=1 and the wps_package output should resolve any CWL glob list (as required) to an unique reference.
Furthermore, the specific extension could be employed to automatically set mediaType if not provided with more specific values.
Regardless of glob pattern, multiple items should instead be detected via the File[] or type: array, item: File notation.
A generic * glob could still be used to collect a single File (just that any name is valid), such as a randomly generated file name.
When a CWL output glob pattern (ex:
glob: "*.nc"
) is employed, the output of the WPS app should automatically definemaxOccurs="unbounded"
, or any overridingmaxOccurs
value specified in the Deploy body.Also, this output should be considered as an array (list), so that
wps_package
collects multiple files/data here:weaver/weaver/processes/wps_package.py
Lines 1561 to 1592 in cb17e37
We could explore the use of a
builtin
apparray2single
for cases where glob is used to collect an expected unique output.When an unique file glob pattern is used (ex:
glob: "output.nc"
), then the process should automatically definemaxOccurs=1
and thewps_package
output should resolve any CWL glob list (as required) to an unique reference.Furthermore, the specific extension could be employed to automatically set
mediaType
if not provided with more specific values.Relates to #25
The text was updated successfully, but these errors were encountered: