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

Forwards compatible config #307

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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