Had to edit how fitsio extracts image dimensions, due to new version of fitsio