Git Product home page Git Product logo

Comments (6)

vinisalazar avatar vinisalazar commented on September 26, 2024 1

This should be implemented in the bioprov/src/config.py module, but I'm open to ideas.

from bioprov.

vinisalazar avatar vinisalazar commented on September 26, 2024 1

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.

vinisalazar avatar vinisalazar commented on September 26, 2024 1

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.

jvfe avatar jvfe commented on September 26, 2024

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.

jvfe avatar jvfe commented on September 26, 2024

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.

jvfe avatar jvfe commented on September 26, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.