Skip to content
Snippets Groups Projects
Commit 9fe97d9e authored by Dennis Gläser's avatar Dennis Gläser
Browse files

[bin][extractlinedata] raise import exception if paraview is not found

parent 0d3bcac9
No related branches found
No related tags found
1 merge request!2207Feature/improve extract line data
...@@ -19,8 +19,8 @@ args = vars(parser.parse_args()) ...@@ -19,8 +19,8 @@ args = vars(parser.parse_args())
try: try:
from paraview.simple import * from paraview.simple import *
except ImportError: except:
print("`paraview.simple` not found. Make sure using pvpython instead of python.") raise ImportError("`paraview.simple` not found. Make sure using pvpython instead of python.")
# import locations # import locations
outDirectory = args['outputDirectory'] outDirectory = args['outputDirectory']
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment