Skip to content

Commit 7d863bc

Browse files
committed
Small fix
1 parent 7d22c48 commit 7d863bc

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<a href="https://www.buymeacoffee.com/hTpOQGl" rel="nofollow"><img alt="Donate just a small amount, buy me a coffee!" src="https://warehouse-camo.cmh1.psfhosted.org/1c939ba1227996b87bb03cf029c14821eab9ad91/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f446f6e6174652d4275792532306d6525323061253230636f666665652d79656c6c6f77677265656e2e737667"></a>
33
# viz3Danim
44

5-
Interactive visualization of 3D structures, mode shapes and animations, using a json file format (described [here](json-file-format)).
5+
Interactive visualization of 3D structures, mode shapes and animations, using a json file format (described [here](#json-file-format)).
66

77

88
[![Demo](/../main/ressources/figs/demo.gif)](https://ebranlard.github.io/viz3Danim/index.html?load=examples/OC4_Jacket_All.sum.json)

legacy/subDynModeViz.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ def NodesDisp( IDOF, UDOF, maxDisp=None, sortDim=None):
129129

130130
print('>>> Reading yaml file:',subDynSumFile)
131131
if os.path.splitext(subDynSumFile)[1].lower() != '.yaml':
132-
raise Exception('File etension should be .yaml, file:'+subDynSumFile)
132+
raise Exception('File extension should be .yaml, file:'+subDynSumFile)
133133
data =yaml_read(subDynSumFile)
134134

135135
DOF2Nodes = data['DOF2Nodes']
@@ -234,7 +234,7 @@ def abort_with_usage():
234234

235235
# adding viz3danim to python path. Not clean, but this is legacy code anyway
236236
sys.path.append(viz3danimDir)
237-
from webapp import Serverimport
237+
from webapp import Server
238238

239239
# Based on command line arguments, convert subdyn file, and/or open local server
240240
if len(sys.argv) ==2 and sys.argv[1]=='--open':

0 commit comments

Comments
 (0)