Skip to content
This repository has been archived by the owner. It is now read-only.

Commit

Permalink
Handled backwards compatibility of footprintscores
Browse files Browse the repository at this point in the history
  • Loading branch information
msbentsen committed Apr 29, 2019
1 parent 3d9f722 commit 922de82
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tobias/TOBIAS.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,11 @@ def main():

#Add parser for old tool names
if "replaces" in info[tool]:
all_tool_parsers[info[tool]["replaces"].lower()] = subparser
replace_tool = info[tool]["replaces"]
subparser = subparsers.add_parser(replace_tool, usage=SUPPRESS)
subparser = info[tool]["add_arguments"](subparser)
subparser.set_defaults(func=info[tool]["function"])
all_tool_parsers[replace_tool.lower()] = subparser

parser.description += "\n"

Expand Down

0 comments on commit 922de82

Please sign in to comment.