Skip to content

Commit

Permalink
Remove try except
Browse files Browse the repository at this point in the history
  • Loading branch information
hkjeldsberg committed Oct 24, 2023
1 parent f1b8d61 commit 0655004
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/vampy/automatedPreprocessing/visualize.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,4 @@ def visualize_model(network_elements, probe_points, output_surface, mean_inflow_

# Create the RenderWindow and RenderWindowInteractor
windowTitle = "Mean inlet flow rate and percents of it at the inflows"
try:
DisplayModel().renderWindow(renderer, windowTitle)
except Exception as e:
print(f"--- Error during visualization: {e}")
DisplayModel().renderWindow(renderer, windowTitle)

0 comments on commit 0655004

Please sign in to comment.