Skip to content

Commit

Permalink
Merge pull request #109 from dontnod/lca/upload_fileset/use_fileset_o…
Browse files Browse the repository at this point in the history
…verrides

Lca/upload fileset/use fileset overrides
  • Loading branch information
jasugun authored Dec 3, 2024
2 parents 2b43957 + 6eb532b commit e6eb55a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nimp/base_commands/upload_fileset.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def run(self, env):
file_mapper = nimp.system.FileMapper(None, vars(env))
file_mapper.load_set(env.fileset)

artifact_path = f'{env.artifact_repository_destination}/{env.artifact_collection[env.fileset]}'
artifact_path = f'{file_mapper.artifact_repository_destination}/{file_mapper.artifact_collection[env.fileset]}'
if env.slice_job_index and env.slice_job_count:
artifact_path = f'{artifact_path}/slice-{env.slice_job_index}-of-{env.slice_job_count}'
artifact_path = nimp.system.sanitize_path(env.format(artifact_path))
Expand Down

0 comments on commit e6eb55a

Please sign in to comment.