Giter VIP home page Giter VIP logo

Comments (7)

ArnaudBelcour avatar ArnaudBelcour commented on May 27, 2024

Hi @DafniGi,

The error message indicates that miscoto did not find answers for the dataset which is strange.

I think the error comes from a new version of clyngor (a dependency of MiSCoTo). Some weeks ago, clyngor has been updated to fix an issue with the new python API of clingo but this new version leads to issue with MiSCoTo and MeneTools. With this issue no answers are returned. A first test is to see if your version of the python package clyngor is superior to 0.4.0.

If this is the case, we are currently working on a fix for this issue. Can you try the branches fix_new_clyngor of MiSCoTo and MeneTools and see if it fixes the issue?

Best Regards,
Arnaud Belcour.

from metage2metabo.

cfrioux avatar cfrioux commented on May 27, 2024

You can install the version of miscoto Arnaud talked about using pip install git+https://github.com/cfrioux/miscoto.git@fix_new_clyngor

from metage2metabo.

DafniGi avatar DafniGi commented on May 27, 2024

Thank you both! I indeed have clyngor 0.4.1. I tried with the branches fix_new_clyngor of MiSCoTo and MeneTools, but I am still getting the same error.

from metage2metabo.

cfrioux avatar cfrioux commented on May 27, 2024

I am able to reproduce the error with Python 3.8, conda on Ubuntu but I do not fully understand it yet.
However, I was able to find a combination of python, miscoto and clyngor version that still work well together. I give you my env so you can use m2m while we keep digging.

Are you using conda? If yes:

conda create -n miscoto3.7 python=3.7.7
conda activate miscoto3.7
# python -m pip install --upgrade pip --user
pip install clyngor==0.3.31
pip install miscoto
pip install metage2metabo
pip install networkx bubbletools ete3

Should do the trick.

from metage2metabo.

cfrioux avatar cfrioux commented on May 27, 2024

Finally understood what happened. The current fixes on Github still have the same version numbers as the releases so when running the install from the Github branch, nothing actually gets installed (requirement already satisfied).

If you uninstall menetools and miscoto first (pip uninstall miscoto menetools) and then install the fix (pip install git+https://github.com/cfrioux/menetools.git@fix_new_clyngorand pip install git+https://github.com/cfrioux/miscoto.git@fix_new_clyngor), it works properly.

We'll update the version numbers and make the releases very soon.

from metage2metabo.

cfrioux avatar cfrioux commented on May 27, 2024

Menetools v. 3.2.2 and Miscoto v3.1.2 are released and should fix the problems.

from metage2metabo.

DafniGi avatar DafniGi commented on May 27, 2024

Thank you very much for the prompt responses. Menetools v. 3.2.1 was the latest version I could find, and it worked.
For the record in case it is useful in the future, I was in CentOS and I wasn't using conda.

from metage2metabo.

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.