2 new commits in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/723bd4c7197a/ Changeset: 723bd4c7197a Branch: twobit_upload User: ghuls Date: 2013-05-27 15:02:06 Summary: Fix detection of 2bit files when uploading them. When 2bit files are uploaded, they were not detected as 2bit files: Example: test.2bit empty format: twobit, database: hg19 The uploaded binary file contains inappropriate content This issue is solved by registering the TwoBit file format in: ./lib/galaxy/datatypes/binary.py Affected #: 1 file diff -r 31714646a7b441f34a43748065278a1b08940c3c -r 723bd4c7197aec7ac42a20f07f48112cd5654a29 lib/galaxy/datatypes/binary.py --- a/lib/galaxy/datatypes/binary.py +++ b/lib/galaxy/datatypes/binary.py @@ -399,3 +399,5 @@ return dataset.peek except: return "Binary TwoBit format nucleotide file (%s)" % (data.nice_size(dataset.get_size())) + +Binary.register_sniffable_binary_format("twobit", "twobit", TwoBit) https://bitbucket.org/galaxy/galaxy-central/commits/eb910f78fa5b/ Changeset: eb910f78fa5b User: dannon Date: 2013-06-15 19:25:44 Summary: Merged in ghuls/galaxy-central/twobit_upload (pull request #170) Fix detection of 2bit files when uploading them. Affected #: 1 file diff -r b186609ec0cd60c8401b18b1c849745ce17ef0bd -r eb910f78fa5bb75eed2b967d1bdac69b2ae47894 lib/galaxy/datatypes/binary.py --- a/lib/galaxy/datatypes/binary.py +++ b/lib/galaxy/datatypes/binary.py @@ -399,3 +399,5 @@ return dataset.peek except: return "Binary TwoBit format nucleotide file (%s)" % (data.nice_size(dataset.get_size())) + +Binary.register_sniffable_binary_format("twobit", "twobit", TwoBit) Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.