-
Notifications
You must be signed in to change notification settings - Fork 4
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
python3 setup.py test failed with 8 ERRORs #16
Comments
Hi Matthias, Which commit are you using? Can you try installing this release: https://github.com/Uauy-Lab/IBSpy/tree/0.4.6 This issue happens because I'd been trying different ways to make some of the long running process run in parallel. Best, |
Hi Ricardo, Thank you very much for your reply and the feedback. I tried to install the 0.4.6 release. Maybe one of the following two error/warning messages helps to resolve the problem: ~/IBSpy-0.4.6$ python3 setup.py develop running develop Installed /home/wicker/IBSpy-0.4.6 ~/IBSpy-0.4.6$ IBSpy --help Traceback (most recent call last): I also double-checked that I installed all the requirements. Let me know if there is any further information that might help. Best wishes and thank you again! Matthias |
Hi Matthias,
I just uploaded the definition for the singularity container that I used to install the version I'm currently running in our infrastructure. Having said that, I haven't tested recently the "develop" command on a fresh install. I need to get a hold on a linux development VM/machine to see if I can replicate this, but I can promise it will happen soon. If you still have issues, we may e able to share the singularity image (but it is around 500Mb, and need to think on the logistics on getting that file out of the cluster) Best, |
Hello,
I using setup.py test to test if the tool is installed properly. I have installed all the specified requirements. I get the following error message (for all of the tests):
ERROR: test_results (unittest.loader._FailedTest)
ImportError: Failed to import test module: test_results
Traceback (most recent call last):
File "/home/wicker/anaconda3/lib/python3.8/unittest/loader.py", line 436, in _find_test_path
module = self._get_module_from_name(name)
File "/home/wicker/anaconda3/lib/python3.8/unittest/loader.py", line 377, in _get_module_from_name
import(name)
File "/home/wicker/data1/matthias/IBSPY_test/IBSpy/tests/test_results.py", line 12, in
from IBSpy import IBSpyResults
File "/home/wicker/data1/matthias/IBSPY_test/IBSpy/IBSpy/init.py", line 8, in
from .IBSpy_result_set import IBSpyResultsSet
File "/home/wicker/data1/matthias/IBSPY_test/IBSpy/IBSpy/IBSpy_result_set.py", line 15, in
from .IBSpy_values_matrix import IBSpyValuesMatrix
File "/home/wicker/data1/matthias/IBSPY_test/IBSpy/IBSpy/IBSpy_values_matrix.py", line 17, in
class IBSpyValuesMatrix:
File "/home/wicker/data1/matthias/IBSPY_test/IBSpy/IBSpy/IBSpy_values_matrix.py", line 142, in IBSpyValuesMatrix
def merged_values(self) -> dict[str, pysam.TabixFile]:
TypeError: 'type' object is not subscriptable
The text was updated successfully, but these errors were encountered: