Skip to content

Commit e52d0e9

Browse files
committed
TL: avoided clashing name, gitignore update
1 parent f0e7771 commit e52d0e9

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ step_*.png
1111
*_data.json
1212
!_dataRef.json
1313
*.pysdc
14+
*.vtr
1415

1516
# Created by https://www.gitignore.io
1617

pySDC/helpers/vtk.py renamed to pySDC/helpers/vtkIO.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env python3
22
# -*- coding: utf-8 -*-
33
"""
4-
Helper functions to write and read fields from VTK files (to be used with Paraview or PyVista)
4+
Helper functions for VTK files IO (to be used with Paraview or PyVista)
55
"""
66
import os
77
import vtk

pySDC/tests/test_helpers/test_vtk.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
@pytest.mark.parametrize("nX", [1, 5, 16])
88
@pytest.mark.parametrize("nVar", [1, 2, 3])
99
def testVTR(nVar, nX, nY, nZ):
10-
from pySDC.helpers.vtk import writeToVTR, readFromVTR
10+
from pySDC.helpers.vtkIO import writeToVTR, readFromVTR
1111

1212
data1 = np.random.rand(nVar, nX, nY, nZ)
1313
coords1 = [np.sort(np.random.rand(n)) for n in [nX, nY, nZ]]

0 commit comments

Comments
 (0)