Giter Club home page Giter Club logo

Comments (7)

larsyunker avatar larsyunker commented on August 19, 2024

Hi Jerry,
I will look into this tomorrow. Would it be possible to share the mzML file in question? With only a brief look at the traceback it seems that the script is looking for a spectrum that isn't present, which is... Curious.

from pythoms.

tanoury1 avatar tanoury1 commented on August 19, 2024

from pythoms.

larsyunker avatar larsyunker commented on August 19, 2024

Hi Jerry,

I think I understand now. The xlsx you were trying to use does not match the configuration of the mzML you had targetted (the script was expecting additional functions and modes which are not present in the single-function mzML you had targetted). I have renamed the excel file to hopefully clarify the confusion. I have also added another PySIR example xlsx which pairs with LY-2015-09-15.mzML.gz.

Another feature of the mzML class is reading gzipped files, so you do not need to unzip the mzML file.

from pythoms.

tanoury1 avatar tanoury1 commented on August 19, 2024

from pythoms.

tanoury1 avatar tanoury1 commented on August 19, 2024

from pythoms.

larsyunker avatar larsyunker commented on August 19, 2024

Hi Jerry,
Sorry the prompting is a legacy thing from how I used to execute scripts. If the script is "run" instead of executed in a Python interpreter the file paths specified in the script are ignored. Command line arguments should be supported, as you've found.

The plots are generated in the plots sub-function of pyrsir (line 95 of the script). You can tweak them as you see fit. It is a matplotlib plot with subplots. I had found that I almost always did extra processing in excel after the fact and usually plotted from that data rather than the raw output of pyrsir. This is why the output plot is so poorly laid out. For naming and interpreting within the pyrsir function, all the data is contained within the sp dictionary. That dictionary is composed of subdictionaries for each key provided in the excel file (the keys of sp are the names defined).

from pythoms.

tanoury1 avatar tanoury1 commented on August 19, 2024

from pythoms.

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.