mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 22:26:08 -04:00
Adding comments to plot test for clarity.
This commit is contained in:
parent
ad3f4ccf0c
commit
76aa15c6e1
1 changed files with 4 additions and 0 deletions
|
|
@ -18,6 +18,8 @@ class PlotTestHarness(TestHarness):
|
|||
def _run_openmc(self):
|
||||
openmc.plot_geometry(openmc_exec=config['exe'])
|
||||
|
||||
# TEMP: this should always be checked once vtk is added
|
||||
# to Python3.7
|
||||
try:
|
||||
import vtk
|
||||
call(['../../../scripts/openmc-voxel-to-vtk'] +
|
||||
|
|
@ -64,6 +66,8 @@ class PlotTestHarness(TestHarness):
|
|||
def test_plot():
|
||||
expected_plots = ['plot_1.ppm', 'plot_2.ppm',
|
||||
'plot_3.ppm', 'plot_4.h5']
|
||||
# TEMP: this should always be checked once vtk is added
|
||||
# to Python3.7
|
||||
try:
|
||||
import vtk
|
||||
expected_plots.append('plot.vti')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue