Skip to content

Commit 801ce8f

Browse files
martensonmvdbeek
authored andcommitted
remove deprecated args
these only create con fusion and prevent proper documentation generation
1 parent 26daf4f commit 801ce8f

File tree

1 file changed

+3
-16
lines changed

1 file changed

+3
-16
lines changed

src/ephemeris/shed_tools_args.py

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -117,35 +117,21 @@ def parser():
117117
# OPTIONS COMMON FOR UPDATE AND INSTALL
118118

119119
for command_parser in [update_command_parser, install_command_parser]:
120-
command_parser.add_argument(
121-
"--skip-install-tool-dependencies",
122-
"--skip_install_tool_dependencies",
123-
action="store_false",
124-
dest="install_tool_dependencies",
125-
default=False, # Override True default for this function
126-
help=argparse.SUPPRESS,
127-
) # Deprecated function. Leave for backwards compatibility.
128120
command_parser.add_argument(
129121
"--install-tool-dependencies",
130122
"--install_tool_dependencies",
131123
action="store_true",
132124
dest="install_tool_dependencies",
125+
default=False,
133126
help="Turn on installation of tool dependencies using classic toolshed packages. "
134127
"Can be overwritten on a per-tool basis in the tools file.",
135128
)
136-
command_parser.add_argument(
137-
"--install-resolver-dependencies",
138-
"--install_resolver_dependencies",
139-
action="store_true",
140-
dest="install_resolver_dependencies",
141-
default=True, # Override False default for this function
142-
help=argparse.SUPPRESS,
143-
) # Deprecated function. Leave for backwards compatibility.
144129
command_parser.add_argument(
145130
"--skip-install-resolver-dependencies",
146131
"--skip_install_resolver_dependencies",
147132
action="store_false",
148133
dest="install_resolver_dependencies",
134+
default=False,
149135
help="Skip installing tool dependencies through resolver (e.g. conda). "
150136
"Will be ignored on galaxy releases older than 16.07. "
151137
"Can be overwritten on a per-tool basis in the tools file",
@@ -155,6 +141,7 @@ def parser():
155141
"--skip_install_repository_dependencies",
156142
action="store_false",
157143
dest="install_repository_dependencies",
144+
default=False,
158145
help="Skip installing the repository dependencies.",
159146
)
160147
command_parser.add_argument(

0 commit comments

Comments
 (0)