diff --git a/act/qc/clean.py b/act/qc/clean.py index 43c4c93f55..616c49141e 100644 --- a/act/qc/clean.py +++ b/act/qc/clean.py @@ -783,7 +783,6 @@ def clean_arm_qc( if SWATS_QC and global_qc is None and qc_attributes is None: self._ds.clean.clean_swats_qc() - def normalize_assessment( self, variables=None, @@ -950,11 +949,7 @@ def fix_incorrect_variable_bit_description_attributes(self): for var_name in self._ds.data_vars: try: - if ( - not self._ds[var_name] - .attrs['long_name'] - .startswith("Quality check results on") - ): + if not self._ds[var_name].attrs['long_name'].startswith("Quality check results on"): continue except KeyError: continue @@ -975,11 +970,7 @@ def clean_seri_qc(self): """ for var_name in self._ds.data_vars: - if ( - not self._ds[var_name] - .attrs['long_name'] - .startswith("Quality check results on") - ): + if not self._ds[var_name].attrs['long_name'].startswith("Quality check results on"): continue qc_var_name = var_name @@ -1120,11 +1111,7 @@ def clean_swats_qc(self, fix_data_units=True): except KeyError: pass - if ( - not self._ds[var_name] - .attrs['long_name'] - .startswith("Quality check results on") - ): + if not self._ds[var_name].attrs['long_name'].startswith("Quality check results on"): continue qc_var_name = var_name