Closed plongo-fzj closed 1 year ago
probably an error from the ccp4 file used although many visualization tools (ChimeraX, VMD, Pymol) could open it
@plongo-fzj sorry we didn't get around to looking at this issue. Could you expand on why you say it might be an error with the file itself?
I couldn't read it using another python library like gemmi: script:
import gemmi
gemmi.read_ccp4_map(filename)
error:
---------------------------------------------------------------------------
RuntimeError Traceback (most recent call last)
Cell In[30], line 1
----> 1 gemmi.read_ccp4_map(filename)
RuntimeError: Unexpected axis value in word 17: 16777216
Unfortunately I couldn't compare my ccp4 with other ccp4 files built from other softwares therefore I cannot say that for sure and this is why I wrote 'probably'. I'll take the occasion to congrats with all developers for this amazing software that is MDAnalysis!
Thanks @plongo-fzj - I'm happy to go with gemmi as the sanity check that it's probably a file level issue. However, please do re-open this issue if/when needed!
I'm trying to read a .ccp4 file. This file can be handled by ChimeraX, PyMOL and VMD nevertheless whenever I try to use gridData I get an error. Here's the code I use:
And here's the error I get
Again I don't believe it is a problem of the file itself since it doesn't create any problem for ChimeraX, VMD and PyMOL.