-
Notifications
You must be signed in to change notification settings - Fork 2
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
Passing variables with query params #3
Comments
This is (still) a good idea! |
Hey @nleroy917 I think this is going to be an important thing to focus on now. |
There are 3 types of path:
|
If derived attributes could access project attributes, and not just sample attributes as is currently the case... and if there was a way to modify project attributes on-the-fly.... then dynamic paths could provide a universal solution, I think. |
@nleroy917 can you comment on the status of this issue? |
Nothing has been implemented... but this is just for fetching a project, correct? I.e. |
yes. |
A potential solution: https://stackoverflow.com/questions/2059482/temporarily-modify-the-current-processs-environment It was discussed that we could only include this option for specific endpoints (like a |
Wouldn't it be cool if you could pass variables through query params to adjust attributes in the PEP?
For example, say a PEP has a derived column that uses an environment variable like $DATA, because the files are stored in
$DATA/subfolder/{sample_name}.fq
, or something.If when you hit the endpoint to get some file attribute, you could pass
/endpoint?DATA=/my/local/path
, then the server could return a path that was useful for your local environment.The text was updated successfully, but these errors were encountered: