import cwltool.draft2tool
from cwltool.draft2tool import CommandLineTool
import cwltool.workflow
-from cwltool.process import get_feature, scandeps, UnsupportedRequirement
+from cwltool.process import get_feature, scandeps, UnsupportedRequirement, normalizeFilesDirs
from cwltool.load_tool import fetch_document
from cwltool.pathmapper import adjustFileObjs, adjustDirObjs
adjustDirObjs(sc, partial(visitFiles, workflowfiles))
adjustDirObjs(self.job_order, partial(visitFiles, jobfiles))
+ normalizeFilesDirs(jobfiles)
+ normalizeFilesDirs(workflowfiles)
+
keepprefix = kwargs.get("keepprefix", "")
workflowmapper = ArvPathMapper(self.arvrunner, workflowfiles, "",
keepprefix+"%s",