from cwltool.errors import WorkflowException
from cwltool.process import get_feature, UnsupportedRequirement, shortname
from cwltool.pathmapper import adjustFiles
+from cwltool.utils import aslist
import arvados.collection
if runtime_req:
logger.warn("RuntimeConstraints not yet supported by container API")
+ partition_req, _ = get_feature(self, "http://arvados.org/cwl#PartitionRequirement")
+ if partition_req:
+ runtime_constraints["partition"] = aslist(partition_req["partition"])
+
container_request["mounts"] = mounts
container_request["runtime_constraints"] = runtime_constraints