OpenMS / pyopenms-docs

pyOpenMS readthedocs documentation, additional utilities, addons, scripts, and examples.
https://pyopenms.readthedocs.io
Other
42 stars 52 forks source link

none of the get_df() functions are working #245

Closed chrispook closed 2 years ago

chrispook commented 2 years ago

Hello, not sure if this is my mistake as I'm seomthing of a noob. All the get_df() examples aren't working. https://github.com/OpenMS/pyopenms-extra/blob/master/docs/source/pandas_df_conversion.rst

For example, the first one returns "AttributeError: 'pyopenms.pyopenms_5.MSExperiment' object has no attribute 'get_df'" I get similar errors for the others. Thanks, Chris

jpfeuffer commented 2 years ago

Hello!

This is a nightly/latest feature. Do you have the nightly version of pyopenms installed? There should be a subsection on how to get the nightly version in the docs (let me check).

jpfeuffer commented 2 years ago

https://pyopenms.readthedocs.io/en/latest/installation.html#nightly-ci-wheels

andrewjkwok commented 1 year ago

Hi, I am running into a similar issue with no get_dfattirbutes.

I currently have pyopenms v2.7 installed:

Name: pyopenms
Version: 2.7.0
Summary: Python wrapper for C++ LCMS library OpenMS
Home-page: http://open-ms.de/
Author: Uwe Schmitt
Author-email: uschmitt@mineway.de
License: http://opensource.org/licenses/BSD-3-Clause
Location: /home/andrew/software/GLP1RA_ageing_2023/lib/python3.8/site-packages
Requires: numpy
Required-by: 
Note: you may need to restart the kernel to use updated packages.

When I try to install the nightly versions, first,the link given above doesn't work, and when I try to install with: pip install --index-url https://pypi.cs.uni-tuebingen.de/simple/ pyopenms (as given by https://pyopenms.readthedocs.io/en/latest/user_guide/installation.html), I get an error:

Looking in indexes: https://pypi.cs.uni-tuebingen.de/simple/
ERROR: Could not find a version that satisfies the requirement pyopenms (from versions: none)
ERROR: No matching distribution found for pyopenms

Is there any solution to this? Many thanks in advance.

jpfeuffer commented 1 year ago

Hi! We only support the latest 3 python versions (regardless of their ends-of-life). Please upgrade to 3.9+ This should solve your error.

Edit: the function did not exist back in pyopenms 2.7 (if you are wondering)

andrewjkwok commented 1 year ago

Got it - sorted, thank you!