carnisj / bcdi

BCDI: tools for pre(post)-processing Bragg coherent X-ray diffraction imaging data
Other
23 stars 17 forks source link

Catch IndexError if fits on linecuts are not successful #272

Closed DSimonne closed 2 years ago

DSimonne commented 2 years ago

Trying to catch the error to prevent the bog on the linecut.

This needs some testing first

DSimonne commented 2 years ago

So it fixed the issue for MIR !

DSimonne commented 2 years ago

I authorized your changes, I don't know why I cannot go through with it, maybe you need to review again ?