def _convert_format(format, reverse=False):
 if reverse:
  return _convert_record2fits(format)
 else:
  return _convert_fits2record(format)

def _convert_format ( format , reverse = False ) : if reverse : return _convert_record2fits ( format ) else : return _convert_fits2record ( format )
convert fits format spec to record format spec .