def run_one_phot_method(allInput):
    """
    Do a photometry/spectroscopy method on one file
    For example, do aperture photometry on one file
    This is a slightly awkward workaround because multiprocessing doesn't work on object methods
    So it's a separate function that takes an object and runs the method
    
    Parameters
    -----------
    allInput: 3 part tuple (object, int, string)
        This contains the object, file index to run (0-based) and name of the method to run
    """
    photObj, ind, method = allInput
    photMethod = getattr(photObj,method)
    return photMethod(ind)