Skip to content

Commit

Permalink
copy list
Browse files Browse the repository at this point in the history
Co-authored-by: José Manuel Domínguez <[email protected]>
  • Loading branch information
mira-miracoli and kysrpex authored Dec 19, 2023
1 parent 3b6a4b0 commit 8b363fa
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions build.py
Original file line number Diff line number Diff line change
Expand Up @@ -267,12 +267,9 @@ def assemble_name(self):
https://github.com/usegalaxy-eu/vgcn/issues/78
"""
name = ["vgcn"]
if "generic" in self.provisioning:
provisioning = self.provisioning
provisioning.remove("generic")
name += [f"+{'+'.join(provisioning)}"]
else:
name += [f"!generic+{'+'.join(self.provisioning)}"]
provisioning = self.provisioning.copy()
if "generic" not in self.provisioning:
provisioning.insert(0, "!generic")
name = [
"vgcn",
"-".join(self.template.split("-", 2)[:2]),
Expand Down

0 comments on commit 8b363fa

Please sign in to comment.