Giter Site home page Giter Site logo

Comments (7)

Seb-Leb avatar Seb-Leb commented on August 30, 2024

Okay I found the method in v0.3.5 but it looks like neutral_losses isn't implemented right?

from spectrum_utils.

Seb-Leb avatar Seb-Leb commented on August 30, 2024

Haha me again,
I guess you're working on it in master and annotate_proforma isn't available on the version on PyPI?
if I clone master and run the install directly do you think I could get this functionality the same way through annotate_proforma?
Thanks again!

from spectrum_utils.

Seb-Leb avatar Seb-Leb commented on August 30, 2024

I guess I can install the latest version from PyPI but my HPC setup is old and it can't build fastobo because of missing glibc 2.18.
That is annoying but maybe I can figure something out...

from spectrum_utils.

bittremieux avatar bittremieux commented on August 30, 2024

Yes, sorry. The new and more general annotation functionality is implemented through ProForma support. This is already reflected in the documentation and is present on master, but I still need to release the new version. I got a bit side-tracked with other projects and I still need to complete some final unit tests and documentation, but I hope to release the new version that supports neutral loss annotations (among other new functionality) in the next few weeks.

Unfortunately ProForma support requires the fastobo library. I'm all too familiar with issues related to outdated glibc versions on HPC systems. Do you have more recent modules available or can you install it through conda?

from spectrum_utils.

Seb-Leb avatar Seb-Leb commented on August 30, 2024

install with conda didn't work any better.. I tried installing master at home with python setup.py install and the install process seems fine but I have trouble importing the modules. with import spectrum_utils.spectrum as sus I get ModuleNotFoundError: No module named 'spectrum_utils.spectrum' and with import spectrum_utils.spectrum_utils.spectrum as sus I get ImportError: cannot import name 'proforma' from 'spectrum_utils' (unknown location)

from spectrum_utils.

bittremieux avatar bittremieux commented on August 30, 2024

I wouldn't recommend installing master right now, unless you urgently need the neutral loss functionality. For the time being, standard peak annotations (a/b/c/x/y/z fragments) are available in the latest published version on PyPI and Bioconda.

If installing from master, use pip rather than setup.py. Your import errors seem to indicate problems with the installation and/or Python path.

from spectrum_utils.

bittremieux avatar bittremieux commented on August 30, 2024

Fixed in 6103efa.

from spectrum_utils.

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.