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

relion_mask_create ERROR --i and --and maps are different shapes! #495

Closed
huwjenkins opened this issue Aug 8, 2019 · 3 comments
Closed
Labels

Comments

@huwjenkins
Copy link
Contributor

This bug (bitbucket Issue no. 24) seems to have re-emerged.

I can reproduce when --i and --and are same map (emd_2660.map from RELION benchmark). Print statements before/after

Ip().setXmippOrigin();
suggest issue might be that origin of --and map is shifted but not of --i map:

Before - Size of Iin:  Size(Z,Y,X): 360x360x360 k=[0..359] i=[0..359] j=[0..359]
Before - Size of Ip:  Size(Z,Y,X): 360x360x360 k=[0..359] i=[0..359] j=[0..359]

After - Size of Iin:  Size(Z,Y,X): 360x360x360 k=[0..359] i=[0..359] j=[0..359]
After - Size of Ip:  Size(Z,Y,X): 360x360x360 k=[-180..179] i=[-180..179] j=[-180..179]

and reverting 034de96 appears to fix?

@biochem-fan
Copy link
Member

biochem-fan commented Aug 8, 2019

Does putting Iin().setXmippOrigin() in

solve the issue?

@biochem-fan biochem-fan added the bug label Aug 8, 2019
@huwjenkins
Copy link
Contributor Author

Thanks for quick reply! Yes that fixes the issue. Thanks

@biochem-fan
Copy link
Member

Thanks for confirmation. Fixed in 451976b.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants