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
Argo data tool #81
Argo data tool #81
Conversation
@@ -0,0 +1,158 @@ | |||
# author: Marie Jossé |
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.
can you use the argparse library for that script?
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.
Yes I think I can just need to check how it works ;)
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.
Is it good now ?
</command> | ||
<inputs> | ||
<param name="user" type="select" label="Which kind of user are you ?"> | ||
<option value="standard">🏊 standard mode simplifies the dataset, remove most of its jargon and return a priori good data</option> |
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 those emojis work? :)
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.
Yes they do I really like the style ;)
I see that I need to add a category Earth-system somewhere with this warning message |
Weird my planemo t is working locally but it's not here... |
The warning about the missing category is because this category does not exist in the ToolShed. Use a different one from the TS please. https://toolshed.g2.bx.psu.edu/ |
Are you running the tests locall with planemo test --biocontainers? |
Yes, categoris are toolshed ones. You can use the ecology one |
I was not using the option --biocontainers so I tried with it and I do have the same error. I search and tried out some stuffs and I think my tool is searching for a "galaxy user" to run and is not able to find it (because it does not exist I think). I don't really know how to fix that. I tried to add a user in the Cheetah but I don't know how to do it and it may not be the right thing to do. |
Am I gonna be able to have this tool to one of the sections I have implemented in the earth system subdomain ? Because I don't want to be forced to add the entire set of ecology tools in the earth system... |
ToolShed sections are independent of Galaxy tool panel sections. So don't worry about it here. |
This looks really like an upstream problem of erddap_data.py |
I assume it is this line: https://github.com/euroargodev/argopy/blob/master/argopy/data_fetchers/erddap_data.py#L686 The function wants to get |
So, I need to contact the authors of erddap to ask if they can modify that ? |
I think so. Otherwise we need to hack around this problem on our side :( |
OOOH can I start my happy dance @bgruening ? |
<param name="profile" type="text" multiple="true" value="0" label="Input profile cycle number" help="if you want to enter multiple ones just separate them with a comma (example : 3,12)"/> | ||
</when> | ||
</conditional> | ||
<!--<conditional name="sources"> |
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.
should this be still expcluded?
I think I took all your @bgruening suggestions into account. Is there anything else that needs improvement ? |
Looks great! |
1st batch tool for the Earth-System subdomain ! This tool allows user to retrieve argo data in netcdf file. It will be part of the ocean part of the Earth System. I think it should go in the section Get Data of the tool pannel.
I am not sure if I filed the .shed.yml correctly.
What do you think of it ?