Skip to content

Commit 9ef0081

Browse files
committed
fix: flake8
1 parent a37fec2 commit 9ef0081

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

LoopStructural/interpolators/_interpolator_factory.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,11 @@ def create_interpolator_with_data(
6868
if type(interpolatortype) == str:
6969
interpolatortype = InterpolatorType._member_map_[interpolatortype].numerator
7070
if support is None:
71-
supporttype = support_interpolator_map[interpolatortype]
72-
support = SupportFactory.create_support(
73-
supporttype, boundingbox, nelements, element_volume
74-
)
71+
raise Exception("Support must be specified")
72+
# supporttype = support_interpolator_map[interpolatortype]
73+
# support = SupportFactory.create_support(
74+
# supporttype, boundingbox, nelements, element_volume
75+
# )
7576
interpolator = interpolator_map[interpolatortype](support)
7677
if value_constraints is not None:
7778
interpolator.add_value_constraints(value_constraints)

0 commit comments

Comments
 (0)