Coder Social home page Coder Social logo

Separating pygor from IGoR repo. about igor HOT 2 OPEN

qmarcou avatar qmarcou commented on July 23, 2024
Separating pygor from IGoR repo.

from igor.

Comments (2)

qmarcou avatar qmarcou commented on July 23, 2024

Hi Wout!

Sorry for the long delay before my reply. Thank you very much for taking the lead on this one!
As I previously stated I think it remains important that pygor is supplied along with IGoR and I think it should still be included as a git submodule.

Here are the pros and cons I see about this separation:

Pros:

Cons:

  • some pieces of pygor extract information from IGoR's fileformats. This creates an interdependency between IGoR's and pygor releases. This is why I think including pygor in IGoR's releases would be good.

Development directions:

  • cython interface between IGoR and pygor (this would probably solve the first con). This would also be very helpful to prototype codes before implementing in C++
  • a small library to make summary plot from IGoR's outputs/distributions etc
  • implement selection, clone frequency distributions generation etc (this would also be a good reason for having a cython interface, as a lot of these would not necessarily require coding in C for performance)

Tell me if you have other ideas I will append them to the list!

from igor.

penuts7644 avatar penuts7644 commented on July 23, 2024

Hi Quentin,

Sounds good! I have been taking some initiative on this one, since I needed to get started on doing some more of the master related work. Because of this I have cloned a version of pygor as one of my own repos (I made sure the your commit messages where carried over as well). You can find this version here: https://github.com/penuts7644/pygor and is installable via PyPI as well. I'm currently working on some refactoring work for the module (aka using more classes and separating the tools a bit more).

I agree with your pros and cons and am willing to implement these as time progresses. Just not right now because of my own priorities. Also I think that the cons can be solved (for now) by mentioning which version of pygor works with which version of IGoR in the readme file of pygor (or even IGoR).

Cython is really nice to implement for some speed improvements and I will also add some snippets for pythons own multiprocessing module (for example for pandas data frame manipulation tasks).

Have a great day!

Cheers, Wout

from igor.

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.