Closed tkamath1 closed 2 years ago
Thanks for reporting this. Because we are in the process of updating the software pacakge. Could you provide your installation commands for us to track down the reason?
Also, could you also try the following commands?
git clone https://github.com/martinjzhang/scDRS.git
cd scDRS
# Current version under development; switch to submission version
# https://github.com/martinjzhang/scDRS/releases/tag/v0.1
git checkout -b initial_submission v0.1
pip install -e .
# run tests
python -m pytest tests/test_scdrs.py -p no:warnings
(I realize there may be some issues in the commands order of between git checkout
and pip install -e
in the README.md)
Thanks!
Thanks so much for the quick response!
I went ahead and uninstalled and re-installed scDRS per your suggestions above. Unfortunately now it looks like I'm receiving a segfault error. Perhaps this could be an issue on my end, as I only have 4.8G of free space available on my virtual machine. The only other change I made was an update to pandas.
python -m pytest tests/test_scdrs.py -p no:warnings
========================================================================================= test session starts =========================================================================================
platform linux -- Python 3.7.4, pytest-3.6.3, py-1.5.4, pluggy-0.6.0
rootdir: /home/tkamath/GIT/scDRS, inifile:
plugins: remotedata-0.3.2, openfiles-0.4.0, doctestplus-0.4.0, arraydiff-0.3
collected 1 item
tests/test_scdrs.py Segmentation fault
we indeed did not see segfault issue before. Any chance you have another computing resource?
Also could you also try pip install -U anndata
Sorry for the possible confusion with these different potential solutions. But here is another route that's worth trying by creating a virtual python environment to avoid potential dependency problem provided by @martinjzhang
# Set up a Virtual Environment
# See details in https://harvardmed.atlassian.net/wiki/spaces/O2/pages/1588662166/Personal+Python+Packages
# Go to the folder where you want to put the virtualenv file
virtualenv myenv_scdrs
source myenv_scdrs/bin/activate
# Installation
# Go to the place where you want to put scdrs code
git clone https://github.com/martinjzhang/scDRS.git
cd scDRS; pip install -e .
# Current version under development; switch to submission version
# https://github.com/martinjzhang/scDRS/releases/tag/v0.1
git checkout -b initial_submission v0.1
# Quick test
python -m pytest tests/test_scdrs.py -p no:warnings
Let us know how these different route work out.
It seemed like the virtualenv installation did the trick! Thanks so much for your help!
Hi! Thanks for providing this exciting new analysis package. I am having some trouble with the running the test case. When I run the command line test:
python -m pytest tests/test_scdrs.py -p no:warnings
I receive the following error. Any help would be much appreciated. Thanks!