Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 SingleSampleGSEA has no attribute resultsOnSamples in contrast to documentation #293

Open
enryH opened this issue Dec 10, 2024 · 2 comments

Comments

@enryH
Copy link

enryH commented Dec 10, 2024

Setup

I am reporting a problem with GSEApy version, Python version, and operating
system as follows:

>>>import sys; print(sys.version)
3.11.10 | packaged by conda-forge | (main, Sep 30 2024, 17:58:42) [Clang 17.0.6 ]
>>>import platform; print(platform.python_implementation()); print(platform.platform())
CPython
macOS-15.1-arm64-arm-64bit
>>>import gseapy; print(gseapy.__version__)
1.1.3

(Please copy and run the above in your Python, and copy-and-paste the output)

Expected behaviour

All results store to a dictionary, access enrichment score by obj.resultsOnSamples,

I am looking at the SSGSEA class. The documentation seems to be outdated as the attribute is no longer available. Should it be just results?

https://gseapy.readthedocs.io/en/latest/run.html#gseapy.ssgsea

Actual behaviour

  • AttributeError

Steps to reproduce

@zqfang
Copy link
Owner

zqfang commented Dec 11, 2024

oh yeah. the document should be updated. Thanks

zqfang pushed a commit that referenced this issue Dec 11, 2024
@enryH
Copy link
Author

enryH commented Dec 11, 2024

Thanks for the quick reply. I left a comment at the commit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants