Skip to content
This repository has been archived by the owner on Oct 10, 2024. It is now read-only.

Commit

Permalink
Merge pull request #307 from pypeclub/feature/forward_compatible_config
Browse files Browse the repository at this point in the history
Forwards compatible config
  • Loading branch information
mkolar authored Mar 30, 2021
2 parents d89bb68 + 021be95 commit 160b148
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion avalon/pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -580,7 +580,11 @@ def environ(self, session):
"name": session["AVALON_ASSET"]
})
tools = self.find_tools(asset)
tools_attr.extend(tools)
# Forwards compatibility - replace slash with underscore
modified_tools = []
for tool in tools:
modified_tools.append(tool.replace("/", "_"))
tools_attr.extend(modified_tools)

tools_env = acre.get_tools(tools_attr)
dyn_env = acre.compute(tools_env)
Expand Down

0 comments on commit 160b148

Please sign in to comment.