Skip to content

Commit 7a3ec2a

Browse files
committed
Review fix
1 parent ba066f5 commit 7a3ec2a

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

geos-pv/examples/PVproxyTimeStepAggregator.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,10 @@
2929
)
3030

3131
__doc__ = """
32-
Example of a Paraview plugin that runs through time steps.
32+
Example of a Paraview plugin that runs aggregate data from various time steps.
33+
34+
For instance, to copy arrays from oter time steps to the current one, or to compute
35+
array differences between successive time steps.
3336
3437
"""
3538

@@ -46,7 +49,6 @@ class PVTimeStepAggregatorFilter( VTKPythonAlgorithmBase ):
4649
def __init__( self: Self ) -> None:
4750
"""Map the properties of a server mesh to a client mesh."""
4851
super().__init__( nInputPorts=1, nOutputPorts=1, outputType="vtkUnstructuredGrid" )
49-
print( "__init__" )
5052

5153
#: all time steps from input
5254
self._timeSteps: npt.NDArray[ np.float64 ] = np.array( [] )

geos-pv/examples/PVproxyWidgetsStatic.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ def a01StringSingle( self: Self, value: str ) -> None:
9393
self._strSingle = value
9494
self.Modified()
9595

96+
9697
# may be used with panel_widget="calculator" to create a scriptable widget.
9798
# <StringVectorProperty command="SetFunction"
9899
# name="Function"
@@ -305,7 +306,7 @@ def c04BoolSingle( self: Self, value: bool ) -> None:
305306
panel_visibility="default">
306307
<Property name="BoolSingle"/>
307308
</PropertyGroup>""" )
308-
def c03BoolInputsGroup( self: Self ) -> None:
309+
def c05BoolInputsGroup( self: Self ) -> None:
309310
"""Create a group of widgets."""
310311
self.Modified()
311312

0 commit comments

Comments
 (0)