diff options
author | lukelabrie | 2023-05-15 11:53:32 +0200 |
---|---|---|
committer | lukelabrie | 2023-05-15 11:53:32 +0200 |
commit | 1942f9256cc51544cf37752981aea144390b2a2b (patch) | |
tree | 47caa5de7bc47670187e802c51eec4e9ee2b2ce6 /step_to_h5m.py | |
parent | a29cad687e58f159a048bff662be67d556afaf73 (diff) | |
download | aur-1942f9256cc51544cf37752981aea144390b2a2b.tar.gz |
add hdf5 as a dependency, and use absolute filepaths in test scripts
Diffstat (limited to 'step_to_h5m.py')
-rw-r--r-- | step_to_h5m.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/step_to_h5m.py b/step_to_h5m.py index 69834051b286..2297a298e7e5 100644 --- a/step_to_h5m.py +++ b/step_to_h5m.py @@ -1,6 +1,8 @@ +import os import CAD_to_OpenMC.assembly as ab +filepath = f"{os.environ['HOME']}/.cache/yay/openmc-git/fuel_pins.step" a=ab.Assembly() -a.stp_files=["./fuel_pins.step"] +a.stp_files=[filepath] a.import_stp_files() a.merge_all() a.solids_to_h5m(backend="stl") |