Git Product home page Git Product logo

Comments (4)

jordiferrero avatar jordiferrero commented on June 20, 2024

I was thinking about this yesterday too.
If we do develop the code now relying on the non-linear-axes Hyperspy branch, it is quite tedious to add it as a dependency in the setup.py file (because upon installation it would git clone the branch and then install it, which takes longer than just using pip install the released versions).

Therefore I see two options:

  1. To create a dev branch in lumispy (until Hyperspy adds the functionality)
  2. To add it as the master branch and clarify in the docstring that it relies on the hyperspy dependency which is in development.

I am happy with both, as lumispy is in a very early stage. Feel free to decide 1 or 2 and contribute!

from lumispy.

jlaehne avatar jlaehne commented on June 20, 2024

I also think both are good options. The second might be a little easier for us to handle so that we don't always have to switch branches in lumispy also (in HyperSpy I basically live in the non-linear-axis branch for more than a year already). I'll try to find some time in the next days to add that.

from lumispy.

jordiferrero avatar jordiferrero commented on June 20, 2024

@jlaehne What is the best way to ensure that anyone using LumiSpy works with the non-linear-axis branch?
I see 2 options:

  • Force the installation of this branch during installation (mandated by the setup.py file) which I have tried and gives me many issues
  • Every time we add a function that relies on non-linear-axis branch, we need to add Error handeling (with a note suggesting the user to install the Hyperspy branch instead of the master version).

For now I think the second is better, as it makes installaton easier.

from lumispy.

jlaehne avatar jlaehne commented on June 20, 2024

Yes, I will add a note to the docstring and will see how to appropriately raise an error if the DataAxis object is not available.

from lumispy.

Related Issues (20)

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.