-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Fix Registry.get_datatype_by_extension() to return None if ext is unknown #4224
Merged
jmchilton
merged 3 commits into
galaxyproject:dev
from
nsoranzo:fix_get_datatype_by_extension
Jun 26, 2017
Merged
Fix Registry.get_datatype_by_extension() to return None if ext is unknown #4224
jmchilton
merged 3 commits into
galaxyproject:dev
from
nsoranzo:fix_get_datatype_by_extension
Jun 26, 2017
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…nown Without this fix, the Cheetah expression: $dataset.is_of_type('unknown_ext') in a tool command would be equivalent to: $dataset.is_of_type('txt') meaning that if the dataset datatype is a subclass of Text, the expression would evaluate to True without any warning. xref. galaxyproject/tools-iuc#1373 Also add missing `xml` datatype to `test/functional/tools/sample_datatypes_conf.xml` which is needed by 3 test tools.
Awesome - thanks a bunch @nsoranzo! |
Merged
peterjc
added a commit
to peterjc/galaxy_blast
that referenced
this pull request
Oct 19, 2018
See galaxyproject/tools-iuc#1373 which was fixed and back-ported to Galaxy 16.07, galaxyproject/galaxy#4224 galaxyproject/galaxy#4230 This would still break with other non-compressed FASTA subclasses, but this is intended as a stop-gap until the last few elderly Galaxy servers in use are updated.
peterjc
added a commit
to peterjc/galaxy_blast
that referenced
this pull request
Oct 19, 2018
See galaxyproject/tools-iuc#1373 which was fixed and back-ported to Galaxy 16.07, galaxyproject/galaxy#4224 galaxyproject/galaxy#4230 This would still break with other non-compressed FASTA subclasses, but this is intended as a stop-gap until the last few elderly Galaxy servers in use are updated.
peterjc
added a commit
to peterjc/galaxy_blast
that referenced
this pull request
Oct 22, 2018
See galaxyproject/tools-iuc#1373 which was fixed and back-ported to Galaxy 16.07, galaxyproject/galaxy#4224 galaxyproject/galaxy#4230 This would still break with other non-compressed FASTA subclasses, but this is intended as a stop-gap until the last few elderly Galaxy servers in use are updated.
peterjc
added a commit
to peterjc/galaxy_blast
that referenced
this pull request
Oct 22, 2018
See galaxyproject/tools-iuc#1373 which was fixed and back-ported to Galaxy 16.07, galaxyproject/galaxy#4224 galaxyproject/galaxy#4230 This would still break with other non-compressed FASTA subclasses, but this is intended as a stop-gap until the last few elderly Galaxy servers in use are updated.
peterjc
added a commit
to peterjc/galaxy_blast
that referenced
this pull request
Oct 23, 2018
See galaxyproject/tools-iuc#1373 which was fixed and back-ported to Galaxy 16.07, galaxyproject/galaxy#4224 galaxyproject/galaxy#4230 This would still break with other non-compressed FASTA subclasses, but this is intended as a stop-gap until the last few elderly Galaxy servers in use are updated.
peterjc
added a commit
to peterjc/galaxy_blast
that referenced
this pull request
Oct 23, 2018
See galaxyproject/tools-iuc#1373 which was fixed and back-ported to Galaxy 16.07, galaxyproject/galaxy#4224 galaxyproject/galaxy#4230 This would still break with other non-compressed FASTA subclasses, but this is intended as a stop-gap until the last few elderly Galaxy servers in use are updated.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Without this fix, the Cheetah expression:
in a tool command would be equivalent to:
meaning that if the dataset datatype is a subclass of
Text
, the expression would evaluate toTrue
without any warning.xref. galaxyproject/tools-iuc#1373
Also:
xml
datatype totest/functional/tools/sample_datatypes_conf.xml
which is needed by 3 test tools.lib/galaxy/datatypes/registry.py
xref. Python 3 support. #1715The first commit should be backported to fix galaxyproject/tools-iuc#1373 on pre-17.01 releases.