From 0224739f3911509670b59b30db31c0bf2de5edcf Mon Sep 17 00:00:00 2001 From: Alessandro Candido Date: Wed, 3 May 2023 11:43:52 +0200 Subject: [PATCH] Drop some type assertions As a consequence of improved inventories typing --- src/eko/io/struct.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/eko/io/struct.py b/src/eko/io/struct.py index c7af8a60b..2d499f3d9 100644 --- a/src/eko/io/struct.py +++ b/src/eko/io/struct.py @@ -207,7 +207,6 @@ def __iter__(self): """Iterate over keys (i.e. evolution points).""" self.operators.sync() for target in self.operators: - assert isinstance(target, Target) yield target.ep def items(self): @@ -229,7 +228,6 @@ def items(self): """ for target in self.operators: # recast to evolution point - assert isinstance(target, Target) ep = target.ep # auto-load