Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fixed except, and message, this time without a conflict
  • Loading branch information
makdl committed Apr 13, 2021
commit 700844b280acfa96ae4f23d7582c95f4ab9d2b69
6 changes: 3 additions & 3 deletions spatialpy/Result.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@

try:
import vtk
except:
print('''Using fallback VTK reader. This is significantly slower than the official VTK package.
For best performance please install the VTK Python package: \'python3 -m pip install vtk\'''')
except ImportError as e:
print('''The Python package 'vtk' is not installed. Using integrated VTK reader. This is significantly
slower than the official VTK package.''')
from spatialpy.VTKReader import VTKReader

common_rgb_values=['#1f77b4','#ff7f0e','#2ca02c','#d62728','#9467bd','#8c564b','#e377c2','#7f7f7f',
Expand Down