Due to the reason that the item.keySet() is immutable we need to handle the testKeys function slightly different otherwise it will fail, if the keys are not the same (Which will make the process fail anyway but the error message will be wrong).
Also fixed the testKeys call in the FITSWriter now testing the correct dataset.
Due to the reason that the
item.keySet()
is immutable we need to handle the testKeys function slightly different otherwise it will fail, if the keys are not the same (Which will make the process fail anyway but the error message will be wrong).Also fixed the testKeys call in the FITSWriter now testing the correct dataset.