def run_cmpl(self, comparison_sdf, apply_edits=True):
    try:
        new_flag = self.set_selected('cmpl')
        df = completeness(self.selected, self.features, comparison_sdf)
        if self.debug:
            df.to_featureclass(self.debug, 'cmpl', overwrite=True)
            return df
        if new_flag:
            return [df, self.create_layer(df, 'Completeness {}'.format(round(time.time())))]
        elif apply_edits:
            return [df, self.update_layer(df, self.cmpl_url)]
        else:
            return df
    except Exception as e:
        print('Exception Running Completeness: {}'.format(str(e)))
def run_cmpl(self, comparison_sdf, apply_edits=True):
    try:
        new_flag = self.set_selected('cmpl')
        df = completeness(self.selected, self.features, comparison_sdf)
        if self.debug:
            df.to_featureclass(self.debug, 'cmpl', overwrite=True)
            return df
        if new_flag:
            return [df, self.create_layer(df, 'Completeness {}'.format(round(time.time())))]
        elif apply_edits:
            return [df, self.update_layer(df, self.cmpl_url)]
        else:
            return df
    except Exception as e:
        print('Exception Running Completeness: {}'.format(str(e)))