def __init__(self, data=None, header=None):
        super(GroupsHDU, self).__init__(data=data, header=header)

        # Update the axes; GROUPS HDUs should always have at least one axis
        if len(self._axes) <= 0:
            self._axes = [0]
            self._header['NAXIS'] = 1
            self._header.set('NAXIS1', 0, after='NAXIS')
dataset/ETHPy150Open spacetelescope/PyFITS/pyfits/hdu/groups.py/GroupsHDU.__init__/original