def run_poac(self, p1, apply_edits=True):
    try:
        new_flag = self.set_selected('poac')
        df = positional_accuracy(self.selected, self.features, p1)
        if self.debug:
            df.to_featureclass(self.debug, 'poac', overwrite=True)
            return df
        if new_flag:
            print(df.to_featureclass)
            return [df, self.create_layer(df, 'Positional Accuracy {}'.format(round(time.time())))]
        elif apply_edits:
            return [df, self.update_layer(df, self.poac_url)]
        else:
            return df
    except Exception as e:
        print('Exception Running Positional Accuracy: {}'.format(str(e)))
def run_poac(self, p1, apply_edits=True):
    try:
        new_flag = self.set_selected('poac')
        df = positional_accuracy(self.selected, self.features, p1)
        if self.debug:
            df.to_featureclass(self.debug, 'poac', overwrite=True)
            return df
        if new_flag:
            print(df.to_featureclass)
            return [df, self.create_layer(df, 'Positional Accuracy {}'.format(round(time.time())))]
        elif apply_edits:
            return [df, self.update_layer(df, self.poac_url)]
        else:
            return df
    except Exception as e:
        print('Exception Running Positional Accuracy: {}'.format(str(e)))