thomasorb / orcs

ORCS is an analysis engine for SITELLE spectral cubes.
GNU General Public License v3.0
9 stars 6 forks source link

IndexError when extracting 1D slices #28

Closed BLaunet closed 6 years ago

BLaunet commented 6 years ago

Solving issue #27 Error was due to loss of one dimension when getting only one row or one column. Forcing the shape to be 3d solves the problem.

thomasorb commented 6 years ago

Thank you @BLaunet for this update.

It seems to me that the merge issue comes from an update you made for a faster non-parallel extraction mode in cases when the number of spectra to extract is small (https://github.com/thomasorb/orcs/pull/23). Can you please see if you can resolve the merge conflict ?

Thanks again !

BLaunet commented 6 years ago

This should do the trick 😃