schrodinger / pymol-open-source

Open-source foundation of the user-sponsored PyMOL molecular visualization system.
https://pymol.org/
Other
1.17k stars 277 forks source link

Issue copying map #43

Closed giagitom closed 5 years ago

giagitom commented 5 years ago

Hi, I'm getting an issue coping a map. If I try to load the map i attached and then copy it, it results in a messed up map.
here the map: https://www.dropbox.com/s/37abshy1w2zfbop/map_issue.ccp4?dl=0 here the same map copied: https://www.dropbox.com/s/a4g7i7o5dns1jja/map_issue_copied.ccp4?dl=0

speleo3 commented 5 years ago

Just to clarify, I assume this is the recipe to show the issue:


load map_issue.ccp4
isomesh mesh1, map_issue                     ;# correct
map_set map_issue_copied, copy, map_issue
isomesh mesh2, map_issue_copied              ;# not correct
giagitom commented 5 years ago

Yep, exactly

speleo3 commented 5 years ago

Looks like map_set can't handle the transformation matrix (skew matrix from CCP4 file)

giagitom commented 5 years ago

I understand. Is there a way to fix this?

speleo3 commented 5 years ago

I've added map support to cmd.copy() in 9ad33a3734a611ff23c45205e2d7ffaafa5fb52c. Can you use that?

copy map_issue_copied, map_issue
giagitom commented 5 years ago

@speleo3, should i open a new issue for the last problem?

speleo3 commented 5 years ago

yes this is a separate problem, please open a new issue. Thanks.

giagitom commented 5 years ago

No need to open a new issue. There was an issue on my side I solved. Thanks again for the help!