[galaxyproject/galaxy] 0dfe73: Determine dynamically if an extension corresponds ...
Branch: refs/heads/dev Home: https://github.com/galaxyproject/galaxy Commit: 0dfe73a54cebb1e4fd7a02d9ff05ca585d034244 https://github.com/galaxyproject/galaxy/commit/0dfe73a54cebb1e4fd7a02d9ff05c... Author: Nicola Soranzo <nicola.soranzo@earlham.ac.uk> Date: 2017-12-01 (Fri, 01 Dec 2017) Changed paths: M lib/galaxy/datatypes/binary.py M lib/galaxy/datatypes/msa.py M lib/galaxy/datatypes/registry.py M lib/galaxy/datatypes/sniff.py M tools/data_source/upload.py Log Message: ----------- Determine dynamically if an extension corresponds to an unsniffable binary datatype Remove the need to call `Binary.register_unsniffable_binary_ext()` for each unsniffable binary datatype. Fix https://github.com/galaxyproject/galaxy/issues/3441 , where the upload of files of a datatype defined in datatypes_conf.xml as subclass of an unsniffable binary datatype ended up with "The uploaded binary file contains inappropriate content" because it was not possible to register the subclassed datatype as unsniffable. Also remove unused `stop_err()` function in upload.py . Commit: 211121877c3a579e3c9cbd05c0933017177f26a8 https://github.com/galaxyproject/galaxy/commit/211121877c3a579e3c9cbd05c0933... Author: Dannon Baker <dannon.baker@gmail.com> Date: 2017-12-05 (Tue, 05 Dec 2017) Changed paths: M lib/galaxy/datatypes/binary.py M lib/galaxy/datatypes/msa.py M lib/galaxy/datatypes/registry.py M lib/galaxy/datatypes/sniff.py M tools/data_source/upload.py Log Message: ----------- Merge pull request #5109 from nsoranzo/deprecate_register_unsniffable_binary_ext Determine dynamically if an extension corresponds to an unsniffable binary datatype Compare: https://github.com/galaxyproject/galaxy/compare/f09944a8229b...211121877c3a
participants (1)
-
GitHub