vwd = arvados.collection.Collection()
for t in self.generatefiles:
if isinstance(self.generatefiles[t], dict):
- src, rest = self.arvrunner.fs_access.get_collection(self.generatefiles[t]["path"][7:-1])
+ src, rest = self.arvrunner.fs_access.get_collection(self.generatefiles[t]["path"][6:])
vwd.copy(rest, t, source_collection=src)
else:
with vwd.open(t, "w") as f:
for src in referenced_files:
if isinstance(src, basestring) and pdh_path.match(src):
- self._pathmap[src] = (src, "$(file %s)" % src)
+ self._pathmap[src] = (src, "/keep/%s" % src)
else:
ab = src if os.path.isabs(src) else os.path.join(basedir, src)
st = arvados.commands.run.statfile("", ab)
import sys
-from arvados.commands.cwl_runner import main
+from arvados_cwl import main
sys.exit(main(sys.argv[1:], sys.stdout, sys.stderr))