Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add check for converter #348

Merged
merged 1 commit into from
Jan 27, 2022
Merged

Add check for converter #348

merged 1 commit into from
Jan 27, 2022

Conversation

almahmoud
Copy link
Member

@almahmoud almahmoud commented Jan 27, 2022

xref galaxyproject/galaxy#13255 (comment)

(tested manually with csv_to_tabular)

@afgane afgane merged commit 08349f4 into master Jan 27, 2022
@afgane afgane deleted the converter_check branch January 27, 2022 19:44
@@ -89,7 +89,7 @@ def k8s_container_mapper(tool, referrer, k8s_runner_id="k8s"):
# 3. If no explicit rule mapping was defined, and it's a tool that
# requires galaxy_lib, force the default container. Otherwise,
# Galaxy's default container resolution will apply.
if tool.id in GALAXY_LIB_TOOLS_UNVERSIONED or ("CONVERTER_" in tool.id and "CONVERTER_" == tool.id[:10]):
if tool.id in GALAXY_LIB_TOOLS_UNVERSIONED or ("CONVERTER_" in tool.id and "CONVERTER_" == tool.id[:10]) or tool.is_datatype_converter:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@almahmoud Since the .is_datatype_converter property is available, do we still need CONVERTER in tool.id?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants