You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When compiling a stencil with the backend parameter set to an invalid string value currently raises
Traceback (most recent call last):
File "/home/gronerl/gt4py/tmp.py", line 5, in <module>
def test_stencil(out_storage: gtscript.Field[int]):
File "/home/gronerl/gt4py/src/gt4py/gtscript.py", line 459, in _decorator
StencilBuilder(
File "/home/gronerl/gt4py/src/gt4py/stencil_builder.py", line 73, in __init__
self.backend: "BackendType" = backend(self)
TypeError: 'NoneType' object is not callable
And should be a ValueError caught early on.
The text was updated successfully, but these errors were encountered:
When compiling a stencil with the
backend
parameter set to an invalid string value currently raisesAnd should be a ValueError caught early on.
The text was updated successfully, but these errors were encountered: