Skip to content

Commit

Permalink
remove explicit version number
Browse files Browse the repository at this point in the history
  • Loading branch information
dipinknair committed Oct 28, 2024
1 parent 371eb8b commit b324ada
Show file tree
Hide file tree
Showing 14 changed files with 13 additions and 17 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/ci_cd_nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,6 @@ jobs:
pip install --upgrade pip
pip install -r requirements/requirements_doc.txt
- name: Update PyMechanical version in examples for 251
run: |
find ./examples -type f -name "*.py" -exec sed -i 's/version=242/version=251/g' {} +
- name: Build docs
env:
SPHINXOPTS: '-j auto'
Expand Down
2 changes: 1 addition & 1 deletion examples/00_tips/tips_01.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# %%
# Embed mechanical and set global variables

app = mech.App(version=242)
app = mech.Appmech.App()
app.update_globals(globals())
print(app)

Expand Down
2 changes: 1 addition & 1 deletion examples/00_tips/tips_02.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# %%
# Embed Mechanical and set global variables

app = mech.App(version=242)
app = mech.Appmech.App()
app.update_globals(globals())
print(app)

Expand Down
2 changes: 1 addition & 1 deletion examples/00_tips/tips_03.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# %%
# Embed Mechanical and set global variables

app = mech.App(version=242)
app = mech.Appmech.App()
app.update_globals(globals())
print(app)

Expand Down
2 changes: 1 addition & 1 deletion examples/01_basic/bolt_pretension.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
# %%
# Embed mechanical and set global variables

app = mech.App(version=242)
app = mech.Appmech.App()
app.update_globals(globals())
print(app)

Expand Down
2 changes: 1 addition & 1 deletion examples/01_basic/fracture_analysis_contact_debonding.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
# %%
# Embed mechanical and set global variables

app = mech.App(version=242)
app = mech.Appmech.App()
app.update_globals(globals())
print(app)

Expand Down
2 changes: 1 addition & 1 deletion examples/01_basic/harmonic_acoustics.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
# %%
# Embed mechanical and set global variables

app = mech.App(version=242)
app = mech.Appmech.App()
app.update_globals(globals())
print(app)

Expand Down
2 changes: 1 addition & 1 deletion examples/01_basic/modal_acoustics_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
# %%
# Embed mechanical and set global variables

app = mech.App(version=242)
app = mech.Appmech.App()
app.update_globals(globals())
print(app)

Expand Down
2 changes: 1 addition & 1 deletion examples/01_basic/steady_state_thermal_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
# %%
# Embed mechanical and set global variables

app = mech.App(version=242)
app = mech.Appmech.App()
app.update_globals(globals())
print(app)

Expand Down
2 changes: 1 addition & 1 deletion examples/01_basic/topology_optimization_cantilever_beam.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
# %%
# Embed Mechanical and set global variables

app = mech.App(version=242)
app = mech.Appmech.App()
app.update_globals(globals())
print(app)

Expand Down
2 changes: 1 addition & 1 deletion examples/01_basic/valve.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
# %%
# Embed mechanical and set global variables

app = mech.App(version=242)
app = mech.Appmech.App()
app.update_globals(globals())
print(app)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
# %%
# Embed mechanical and set global variables

app = mech.App(version=242)
app = mech.Appmech.App()
app.update_globals(globals())
print(app)

Expand Down
2 changes: 1 addition & 1 deletion examples/02_technology_showcase/conact_wear_simulation.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
# %%
# Embed mechanical and set global variables

app = mech.App(version=242)
app = mech.Appmech.App()
app.update_globals(globals())
print(app)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
# %%
# Embed mechanical and set global variables

app = mech.App(version=242)
app = mech.Appmech.App()
app.update_globals(globals())
print(app)

Expand Down

0 comments on commit b324ada

Please sign in to comment.