I2PC / xmippCore

Core functions for Xmipp and sharing with other packages (like Scipion)
GNU General Public License v3.0
4 stars 2 forks source link

Fix for rare axis orderings in MRC/MAP files #198

Closed oierlauzi closed 7 months ago

oierlauzi commented 7 months ago

Xmipp reported wrong volume sizes when reading MRC/MAP files with disordered axes. Previous fixes (from Martin and I) fail when axis ordering is not 123 or 321, such as with EMD-2170, which has 213 ordering. These exotic axis orderings are somewhat common in crystallography.

oierlauzi commented 7 months ago

After these changes, the reported volume size matches with ChimeraX

oierlauzi commented 7 months ago

Irene and Carolina reported that changes have no effect when reading images in header only-mode. This issue has been addressed in the last commits

sonarcloud[bot] commented 7 months ago

Quality Gate Passed Quality Gate passed

Issues
2 New issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud