Skip to content

Commit c9ab4b8

Browse files
committed
Check for fmuexport binary
Closes NTNU-IHB#129
1 parent 1fe99d4 commit c9ab4b8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pythonfmu/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,6 @@
44
from .fmi2slave import Fmi2Slave
55
from .variables import Boolean, Integer, Real, String
66
from .default_experiment import DefaultExperiment
7+
8+
if not FmuBuilder.has_binary():
9+
raise ValueError("FmuBuilder binary is missing")

0 commit comments

Comments
 (0)