Skip to content

Commit

Permalink
fix cubit export command to use native syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
Edgar-21 committed Jan 21, 2025
1 parent 4902186 commit 32e8675
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion parastell/cubit_io.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ def export_dagmc_cubit(
cubit.cmd("mesh surface all")

export_path = Path(export_dir) / Path(filename).with_suffix(".h5m")
cubit.cmd(f'export dagmc "{export_path}" overwrite')
cubit.cmd(f'export cf_dagmc "{export_path}" overwrite')

# Delete any meshes present to prevent inclusion in future Cubit mesh
# exports
Expand Down
4 changes: 0 additions & 4 deletions tests/test_parastell.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,10 +164,6 @@ def test_parastell(stellarator):

stellarator.build_cubit_model()

import cubit

cubit.cmd('save cub5 "test.cub5"')

assert (
stellarator.invessel_build.radial_build.radial_build["chamber"][
"vol_id"
Expand Down

0 comments on commit 32e8675

Please sign in to comment.