Closed AndrewAnnex closed 4 years ago
Thanks for this PR, but I think this can be solved differently.
I didn't notice that check in main() was what you ran into.
I don't think that you need to add a --nocheck because I think that check in main() is actually completely unnecessary (that code doesn't even check for the match CCD as its comment indicates). An odd number of channel files can be given, because the logic down in histitch() doesn't care, and ISIS histitch doesn't care.
Maybe there's some other hidden gotcha that I don't remember, but I think you could just eliminate the check in main(), and then wouldn't need the --nocheck at all.
ah, okay I will close this pr for a simpler one
adds the flag "--nocheck" to hiedr2mosaic.py to disable check for even number of ccd files
I also fixed some other formatting in hiedr2mosaic.py