Skip to content

Commit

Permalink
Removed a variable that didn't do anything. Changed pytest variable n…
Browse files Browse the repository at this point in the history
…ames. (#64)
  • Loading branch information
cslotboom committed Jul 15, 2020
1 parent e13aaa9 commit 7fd373c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
4 changes: 1 addition & 3 deletions openseespy-pip/openseespy/postprocessing/Get_Rendering.py
Original file line number Diff line number Diff line change
Expand Up @@ -766,7 +766,7 @@ def nodecoordsFinal(nodetag):


def animate_deformedshape( Model = 'none', LoadCase = 'none', dt = 0, tStart = 0, tEnd = 0, scale = 10, fps = 24,
FrameInterval = 0, skipFrame =1, timeScale = 1, Movie='none'):
FrameInterval = 0, timeScale = 1, Movie='none'):
"""
This defines the animation of an opensees model, given input data.
Expand Down Expand Up @@ -800,8 +800,6 @@ def animate_deformedshape( Model = 'none', LoadCase = 'none', dt = 0, tStart = 0
The default is 24.
FrameInterval : float, optional
The time interval between frames to be used. The default is 0.
skipFrame : TYPE, optional
DESCRIPTION. The default is 1.
timeScale : TYPE, optional
DESCRIPTION. The default is 1.
Movie : str, optional
Expand Down
7 changes: 4 additions & 3 deletions openseespy-pip/openseespy/test/test_plot/pytest/RunTests.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@
import pytest


TestDirs = ['IndividualTests', 'SteelFrame2D_OBD_Animation',
'Shell3D_OBD_Animation','FibreSection2D_OBD' ]
PlotTestDirs = ['IndividualTests', 'SteelFrame2D_OBD_Animation',
'Shell3D_OBD_Animation','FibreSection2D_OBD' ]

testStatus = [None]*len(TestDirs)
testStatus = [None]*len(PlotTestDirs)

baseDir = pathlib.Path.cwd()
plotDir =

for ii, TestDir in enumerate(TestDirs):
os.chdir( baseDir / TestDir )
Expand Down

0 comments on commit 7fd373c

Please sign in to comment.