Skip to content

Commit c4d09dc

Browse files
committed
Exclude user defined tools from requireing galaxy env
1 parent 1f21974 commit c4d09dc

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

lib/galaxy/tools/__init__.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1214,7 +1214,14 @@ def requires_galaxy_python_environment(self):
12141214
# seem to require Galaxy's Python.
12151215
# FIXME: the (instantiated) tool class should emit this behavior, and not
12161216
# use inspection by string check
1217-
if self.tool_type not in ["default", "manage_data", "interactive", "data_source", "data_source_async"]:
1217+
if self.tool_type not in [
1218+
"default",
1219+
"manage_data",
1220+
"interactive",
1221+
"data_source",
1222+
"data_source_async",
1223+
"user_defined",
1224+
]:
12181225
return True
12191226

12201227
if self.tool_type == "manage_data" and Version(str(self.profile)) < Version("18.09"):

0 commit comments

Comments
 (0)