Skip to content

Commit a67c898

Browse files
stxue1mr-c
authored andcommitted
Change caching pathmapper to respect the pathmapper factory
1 parent baa668b commit a67c898

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cwltool/command_line_tool.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -807,10 +807,10 @@ def job(
807807
cachecontext.tmpdir = "/tmp" # nosec
808808
cachecontext.stagedir = "/stage"
809809
cachebuilder = self._init_job(job_order, cachecontext)
810-
cachebuilder.pathmapper = PathMapper(
810+
cachebuilder.pathmapper = self.make_path_mapper(
811811
cachebuilder.files,
812-
runtimeContext.basedir,
813812
cachebuilder.stagedir,
813+
runtimeContext,
814814
separateDirs=False,
815815
)
816816
_check_adjust = partial(check_adjust, self.path_check_mode.value, cachebuilder)

0 commit comments

Comments
 (0)