-
Notifications
You must be signed in to change notification settings - Fork 5
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
nb2galaxy prototype #102
nb2galaxy prototype #102
Conversation
dsavchenko
commented
Aug 31, 2023
•
edited
Loading
edited
- add tests
- add help page
- add unit tests for nb2galaxy
- add .shed.yml ?
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #102 +/- ##
==========================================
- Coverage 21.49% 18.89% -2.61%
==========================================
Files 32 33 +1
Lines 2782 3165 +383
==========================================
Hits 598 598
- Misses 2184 2567 +383 ☔ View full report in Codecov by Sentry. |
try this https://anaconda.org/mmoda/oda-api ? seems to work for me! Here I adapted my trivialized GRB detector, it clearly makes uses oda-api mechanisms for constructing standard LightCurve: I like how this works! We can maybe soon enough integrate it into bot. There some problems with JSON serialization still I had to make small patches, but it should not be a big problem to fix I imagine, and this adaptation might improve serialization behavior in other cases. Maybe we need to add more tests for this case. |
I can't make it work for me. I added Did you do it somehow differently? |
I did this:
I verified that it uses oda-api from some mulled-... environment. Maybe your config does not work correctly? |
Planemo command line option works, thanks. Seems that planemo ignores the configuration in galaxy_root. |
oda-api is in conda-forge now |
Oh, this is cool. Have you seen this repo? https://github.com/hexylena/galaxyxml/ It should make the construction of the Galaxy tool easier. Also please have a look at galaxyproject/planemo#1263 |
Looks interesting, I did not know, could it be useful @dsavchenko , you seem to re-implement part of that ?
Interesting, would it even make sense to have something like Although, we are also using further conventions about the repository with notebooks, which are not so widespread, so it seems best to keep them out of planemo. |
Helena is a long-time contributor, I would not worry about that sustainability here. And yes if needed I'm sure we can move it under the galaxyproject GitHub organisation.
At some point yes. At least if this can be made general enough. But for the time being, I think it makes more sense to have it outside to iterate faster. |
I think papermill-like parameter annotations are quite general, aren't they?
Right, makes sense. |
I haven't seen it. It wasn't too complicated to implement what I did just following the galaxy xml doc. But probably it will make sense to migrate some parts in the future. I will take a look, thank you.
This seems to serve for another use-case, the key requirement is that a code uses ArgumentParser. Still, the idea is the same, of course |
The idea is analogous, we just have another way to define parameters, with papermill-like annotation. It's not as common as ArgumentParser, but it's also reasonably generic. |
This would be useful for the imaging community, there are plenty of notebooks available, but not that many Galaxy tools |
You added some gitignore in tests, but did you add tests? |
Not yet |
we'll need an explanation how to make use of this in here oda-hub/hugo-odahub#72 |
You want to update with base branch? |
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.
It's quite a standalone part and I do not really have any substantial comments.
Just update the base branch please. |
Could you merge? I don't have sufficient rights in this repo |