-
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
Add new datatype bcsp
#19363
Add new datatype bcsp
#19363
Conversation
Here is the tool which need this datatype for more information: galaxyproject/tools-iuc#6647 |
and a question when this will be merged will this datatype be available immediately or do i have to wait till v25? |
@SantaMcCloud you can target the release_24.1 or release_24.2 branch. Then it will be available right a way. |
lib/galaxy/datatypes/binary.py
Outdated
@@ -4747,3 +4747,8 @@ def display_peek(self, dataset: DatasetProtocol) -> str: | |||
return dataset.peek | |||
except Exception: | |||
return f"Binary numpy file ({nice_size(dataset.get_size())})" | |||
|
|||
class bcsp(Binary): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You don't need to do that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So i can delete this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -1017,6 +1017,7 @@ | |||
<datatype extension="fits" type="galaxy.datatypes.binary:FITS" mimetype="application/octet-stream" display_in_upload="true" description="Flexible Image Transport System (FITS) used in Astronomy"/> | |||
<datatype extension="chain" type="galaxy.datatypes.chain:Chain" display_in_upload="true" description_url="https://genome.ucsc.edu/goldenPath/help/chain.html"/> | |||
<datatype extension="ucsc.net" type="galaxy.datatypes.chain:Net" display_in_upload="true" description_url="https://genome.ucsc.edu/goldenPath/help/net.html"/> | |||
<datatype extension="bcsp" type="galaxy.datatypes.binary:bcsp" display_in_upload="true"/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can do it similar to here, just subclass the Binary datatype.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i will have a lookt at this then thank you. If i dont understand it i will ask here again! |
@@ -1017,6 +1017,7 @@ | |||
<datatype extension="fits" type="galaxy.datatypes.binary:FITS" mimetype="application/octet-stream" display_in_upload="true" description="Flexible Image Transport System (FITS) used in Astronomy"/> | |||
<datatype extension="chain" type="galaxy.datatypes.chain:Chain" display_in_upload="true" description_url="https://genome.ucsc.edu/goldenPath/help/chain.html"/> | |||
<datatype extension="ucsc.net" type="galaxy.datatypes.chain:Net" display_in_upload="true" description_url="https://genome.ucsc.edu/goldenPath/help/net.html"/> | |||
<datatype extension="bcsp" type="galaxy.datatypes.binary:Binary" mimetype="application/octet-stream" display_in_upload="true" subclass="true"/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you have a discription_url or something like that?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No i didnt found anything about this file extension. I think it is a file extension made by rust but even in the documentary i didnt find anything about it
@bgruening when i commit to the |
You go to the release_24.1 branch, you create a new branch from this one, commit your changes and create a new PR.
|
change it! #19365 Thank @bgruening for helping me! |
Hello,
this PR should add the new datatype
bcsp
. Sadly there is no docomuentation to it but it is used in a tool which i did wrapped and without it the tool can not be used in Galaxy. The only thing i know is that this file format is a binary format and was generate with a Rust program.How to test the changes?
(Select all options that apply)
License