Comments (6)
This should be implemented in the bioprov/src/config.py module, but I'm open to ideas.
from bioprov.
Yes, that sounds great. The API key should be read from a file and stored as an attribute when the Config class is instantiated. What will take a bit of effort is to code the behaviour of the Config class when trying to read from said file. If the file does not exist, it should prompt the user to input their username and key for their ProvStore login, and automatically create the file.
from bioprov.
The feature has been implemented but the ProvStore API is not working as it should. I have opened an issue (millar/provstore-api#8) in their repository to try to understand what is happening.
from bioprov.
Do you intend to implement this as a submodule in bioprov/src or as a new module? Not that I intend to do it, just interested hahah
from bioprov.
This should be implemented in the bioprov/src/config.py module, but I'm open to ideas.
I'm thinking the API key as an attribute of bioprov.src.config and the CRUD functions as methods inside of bioprov.src.main.Project. How does that sound to you? I didn't look very carefully at the src module but it's what popped into my head for solving this issue.
from bioprov.
The feature has been implemented but the ProvStore API is not working as it should. I have opened an issue (millar/provstore-api#8) in their repository to try to understand what is happening.
From what I can see the endpoint https://provenance.ecs.soton.ac.uk/store/api/v0 they use in the package isn't live!
It looks like the python package isn't updated anymore, as the official documentation now points to another URL https://openprovenance.org/store/api/v0/ . Worst case scenario we can try to implement wrappers around this endpoint.
Edit: I put the wrong url, now its right :P
from bioprov.
Related Issues (8)
- genome_annotation workflow gives unexpected error HOT 2
- Update environment.yml with new dependencies. HOT 2
- Add GitHub action "create-release" HOT 1
- Any reason to use .format() instead of fstrings? HOT 2
- Non-code improvements that would be nice to have HOT 5
- Package requirements HOT 2
- Environment.yml fails to build development environment HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bioprov.