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

Crash of Clement after loading different .mrc files and click on assembly #7

Closed
ReneRosch opened this issue Dec 6, 2019 · 4 comments

Comments

@ReneRosch
Copy link

QGraphicsScene::removeItem: item 0x7fa732ea9c70's scene (0x0) is different from this scene (0x7fa72f608220)
QGraphicsScene::removeItem: item 0x7fa731c45570's scene (0x0) is different from this scene (0x7fa72f608220)
Traceback (most recent call last):
File "/Users/renerosch/miniconda3/envs/clement/lib/python3.7/site-packages/clement/em_controls.py", line 276, in _show_assembled
self._update_imview()
File "/Users/renerosch/miniconda3/envs/clement/lib/python3.7/site-packages/clement/em_controls.py", line 143, in _update_imview
self.imview.setImage(self.ops.data, levels=levels)
File "/Users/renerosch/miniconda3/envs/clement/lib/python3.7/site-packages/pyqtgraph/imageview/ImageView.py", line 273, in setImage
raise Exception("Can not interpret image with dimensions %s" % (str(img.shape)))
Exception: Can not interpret image with dimensions ()
Abort trap: 6
(clement) cssbhpi034-wlan:~ renerosch$

@TammeWollweber
Copy link
Collaborator

which data are you using?
What buttons have you clicked? I wasnt able to reproduce this error yet.

@ReneRosch
Copy link
Author

I was using the data in Rainers folder E4_2_Gridsquare.mrc. I clicked basically on EM for selecting the file and then assemble

@TammeWollweber
Copy link
Collaborator

Okay, we fixed that bug already, but its not implemented yet in the pip install.
For now it is safer to do installation from source (see wiki).
Whenever a bug is fixed you should then do:
git pull and pip install -e .
then you can still use 'clement' from the command line when you are in the correct conda environment

@kartikayyer
Copy link
Collaborator

The PyPi version has also now been fixed.

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

3 participants