Skip to content
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

Updating google_lifesciences.py #653

Merged
merged 1 commit into from
Oct 5, 2020
Merged

Conversation

vsoch
Copy link
Contributor

@vsoch vsoch commented Oct 1, 2020

We want to update the GLS executor to use the helper script provided in the repository, instead of the one in a gist. The gist is here https://gist.githubusercontent.com/vsoch/f5a6a6d1894be1e67aa4156c5b40c8e9/raw/a4e9ddbeba20996ca62745fcd4d9ecd7bfa3b311/gls.py in case anyone wants to do a comparison!

We want to update the GLS executor to use the helper script provided in the repository, instead of the one in a gist. The gist is here https://gist.githubusercontent.com/vsoch/f5a6a6d1894be1e67aa4156c5b40c8e9/raw/a4e9ddbeba20996ca62745fcd4d9ecd7bfa3b311/gls.py in case anyone wants to do a comparison!
@sonarcloud
Copy link

sonarcloud bot commented Oct 1, 2020

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

Copy link
Contributor

@johanneskoester johanneskoester left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not even just distribute the script with Snakemake itself?

@vsoch
Copy link
Contributor Author

vsoch commented Oct 1, 2020

That's the change here - the script is changed from a gist to one provided with the repository! It's easiest to do a wget, because it would even work if Snakemake happens to not be installed for some reason. If we distribute with snakemake, we would need to (in bash) somehow discover where the install is, and then that specific script, and then possibly copy it where we need it. Does this approach not work? Can you walk me through what you have in mind?

@johanneskoester
Copy link
Contributor

I think you are right. I was thinking that, if it is part of the snakemake package, it could be pushed as a file, but that makes little sense, because you need the script to download it then, a hen and egg problem. So, all fine here, thanks.

@johanneskoester johanneskoester merged commit bf6c9f1 into master Oct 5, 2020
@johanneskoester johanneskoester deleted the update/gls-worker-script branch October 5, 2020 20:00
@vsoch
Copy link
Contributor Author

vsoch commented Oct 5, 2020

🐔 + 🥚 problems! :) Always hiding in unexpected places. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants