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

higlass-manage view file.mcool -> ModuleNotFoundError #38

Open
mccalluc opened this issue Aug 5, 2019 · 1 comment
Open

higlass-manage view file.mcool -> ModuleNotFoundError #38

mccalluc opened this issue Aug 5, 2019 · 1 comment

Comments

@mccalluc
Copy link
Collaborator

mccalluc commented Aug 5, 2019

higlass-manage$ higlass-manage view ~/Downloads/4DNFI2A4OBS9.mcool 
Pulling latest image... 
done
Data directory: /Users/chuck/hg-data
Temp directory: ()
Starting... default 8989
Docker started: higlass-manage-container-default
sending request 1
...
Waiting to start (tilesets)...
...
Non 200 status code returned (502), waiting...
sending request 15
public_data: True
Replaced js file
Started
Inferred filetype: cooler
Inferred datatype: matrix
state True
Inferred datatype: matrix
state True
state True
name_text: 
hg_name: default
command: python higlass-server/manage.py ingest_tileset --filename /tmp/4DNFI2A4OBS9.mcool --filetype cooler --datatype matrix    --uid YFkVEOCtR_6w8HCkpdyAMg
Traceback (most recent call last):
  File "/Users/chuck/anaconda3/envs/higlass-tutorial/bin/higlass-manage", line 10, in <module>
    sys.exit(cli())
  File "/Users/chuck/anaconda3/envs/higlass-tutorial/lib/python3.7/site-packages/click/core.py", line 764, in __call__
    return self.main(*args, **kwargs)
  File "/Users/chuck/anaconda3/envs/higlass-tutorial/lib/python3.7/site-packages/click/core.py", line 717, in main
    rv = self.invoke(ctx)
  File "/Users/chuck/anaconda3/envs/higlass-tutorial/lib/python3.7/site-packages/click/core.py", line 1137, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/Users/chuck/anaconda3/envs/higlass-tutorial/lib/python3.7/site-packages/click/core.py", line 956, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/Users/chuck/anaconda3/envs/higlass-tutorial/lib/python3.7/site-packages/click/core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "/Users/chuck/anaconda3/envs/higlass-tutorial/lib/python3.7/site-packages/higlass_manage/view.py", line 114, in view
    import higlass.client as hgc
ModuleNotFoundError: No module named 'higlass'

pip freeze:

$ pip freeze
asciitree==0.3.3
biopython==1.74
certifi==2019.6.16
chardet==3.0.4
Click==7.0
clodius==0.10.13
cooler==0.8.5
cytoolz==0.10.0
dask==2.2.0
dill==0.3.0
docker==4.0.2
h5py==2.9.0
higlass-manage==0.7.2
idna==2.8
multiprocess==0.70.8
negspy==0.2.22
nose==1.3.7
numpy==1.17.0
pandas==0.25.0
pybbi==0.2.0
pyfaidx==0.5.5.2
pypairix==0.3.7
pysam==0.15.3
python-dateutil==2.8.0
pytz==2019.2
PyYAML==5.1.2
requests==2.22.0
scipy==1.3.0
six==1.12.0
slugid==2.0.0
sortedcontainers==2.1.0
toolz==0.10.0
urllib3==1.25.3
websocket-client==0.56.0

In test.sh, we ingest before view, so maybe something is not being exercised with this path?

@mccalluc mccalluc self-assigned this Aug 5, 2019
@pkerpedjiev
Copy link
Member

See this PR: #43

Should be able to update to the latest version of higlass-python once that is merged.

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