CIRADA-Tools/RM-Tools

3D cube writer breaks if BUNIT doesn't exist

AlecThomson opened this issue · 0 comments

As per the title, the issue comes up in do_RMsynth_3D.writefits. The writer falls over if the input files don't have a BUNIT card in the header.

I had caught a similar issue before but clearly missed some extra checks. Fix PR incoming.