From 4e0dadd98178f24deec203c2c88e4023ede1a2f1 Mon Sep 17 00:00:00 2001 From: nmannall Date: Mon, 13 Jan 2025 15:04:14 +0000 Subject: [PATCH] Remove raise statement from logger warning --- gprMax/vtkhdf_filehandlers/vtk_unstructured_grid.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gprMax/vtkhdf_filehandlers/vtk_unstructured_grid.py b/gprMax/vtkhdf_filehandlers/vtk_unstructured_grid.py index 0f9a5c0f..095bd1b1 100644 --- a/gprMax/vtkhdf_filehandlers/vtk_unstructured_grid.py +++ b/gprMax/vtkhdf_filehandlers/vtk_unstructured_grid.py @@ -85,7 +85,7 @@ class VtkUnstructuredGrid(VtkHdfFile): raise ValueError("Connectivity array is shorter than final cell_offsets value") elif len(connectivity) > cell_offsets[-1]: - raise logger.warning( + logger.warning( "Connectivity array longer than final cell_offsets value." " Some connectivity data will be ignored" )