fiji / Stitching

Fiji's Stitching plugins reconstruct big images from tiled input images.
http://imagej.net/Stitching
GNU General Public License v2.0
96 stars 64 forks source link

GridType: make all choices available from a macro #31

Closed ctrueden closed 9 years ago

ctrueden commented 9 years ago

There was already a pretty good effort to make sure that all the "Order" choices were available from a macro. But the code was a bit fragile and prone to fall out of sync. This commit updates things to programmatically generate the allChoices list based on all the choices, no matter what they are, without hardcoding any indices.

ctrueden commented 9 years ago

@StephanPreibisch I made this patch in response to this message on fiji-devel, knowing it was a long-shot. It didn't fix the problem, but I still think it's a good change. What do you think?

StephanPreibisch commented 9 years ago

Looks good, thanks a lot @ctrueden!