Skip to content

Commit

Permalink
Print information on perf model loading
Browse files Browse the repository at this point in the history
  • Loading branch information
jooste committed Jul 19, 2022
1 parent 34295a2 commit 7d7c8c3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bluesky/traffic/performance/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,17 @@
from bluesky.traffic.performance.perfbase import PerfBase
try:
import bluesky.traffic.performance.openap
print('Successfully loaded OpenAP performance model')
except ImportError:
print('Failed to load OpenAP performance model')
try:
import bluesky.traffic.performance.bada
print('Successfully loaded BADA performance model')
except ImportError:
print('Failed to load BADA performance model')
try:
import bluesky.traffic.performance.legacy
print('Successfully loaded legacy performance model')
except ImportError:
print('Failed to load BlueSky legacy performance model')

Expand Down

0 comments on commit 7d7c8c3

Please sign in to comment.