We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9aa344a commit eb1f565Copy full SHA for eb1f565
mikeio/dfsu/_spectral.py
@@ -436,15 +436,11 @@ def _parse_geometry_sel(
436
elements = None
437
438
if area is not None:
439
- assert isinstance(
440
- self.geometry, (GeometryFMLineSpectrum, GeometryFMAreaSpectrum)
441
- )
+ assert isinstance(self.geometry, GeometryFMAreaSpectrum)
442
elements = self.geometry._elements_in_area(area)
443
444
if (x is not None) or (y is not None):
445
446
447
448
elements = self.geometry.find_index(x=x, y=y)
449
450
if (x is not None) or (y is not None) or (area is not None):
0 commit comments