diff --git a/src/fmu/ensemble/etc.py b/src/fmu/ensemble/etc.py index 1e25cd60..b7707f10 100644 --- a/src/fmu/ensemble/etc.py +++ b/src/fmu/ensemble/etc.py @@ -294,7 +294,6 @@ def _get_class_from_frame(frame): return outer[0] def _output(self, idx, level, string): - # pylint: disable=too-many-branches prefix = "" diff --git a/src/fmu/ensemble/observations.py b/src/fmu/ensemble/observations.py index c2615d89..f3763d58 100644 --- a/src/fmu/ensemble/observations.py +++ b/src/fmu/ensemble/observations.py @@ -201,7 +201,6 @@ def load_smry(self, realization, smryvector, time_index="yearly", smryerror=None self.observations["smry"].append(virtobs) def __len__(self): - """Return the number of observation units present""" # This is not correctly implemented yet.. return len(self.observations.keys()) diff --git a/src/fmu/ensemble/realization.py b/src/fmu/ensemble/realization.py index 511be011..fcfd696b 100644 --- a/src/fmu/ensemble/realization.py +++ b/src/fmu/ensemble/realization.py @@ -1128,7 +1128,6 @@ def get_smry( parseddate = dateutil.parser.isoparse(time_index) time_index_arg = [parseddate] except ValueError: - time_index_arg = self.get_smry_dates( freq=time_index, start_date=start_date,