Cad_to_h5m() got an unexpected keyword argument 'graveyard'

I just installed openmc using source and installed it on virtual environment. The examples works fine but I want to run GitHub - openmsr/zpre: detailed cad model and simulations of the zpre (zero power reactor experiment), operated by oak ridge national laboratory and sometimes refered to in documentation as the pr-mark I (pratt and whitney mark I). on my openmc. I installed cad_to_h5m using pip but iwhen i tried to run any of the run.sh options, it came out as :

+ case $opt in
+ echo 'generating neutron flux plot...'
generating neutron flux plot...
+ bash ./scripts/nf.sh
+ test -f ./h5m_files/zpre.h5m
+ python ./step_to_h5m/step_to_h5m_zpre.py
Traceback (most recent call last):
  File "/home/admin1/Code/zpre/./step_to_h5m/step_to_h5m_zpre.py", line 22, in <module>
    cad_to_h5m(h5m_filename= h5m_out_filepath,
TypeError: cad_to_h5m() got an unexpected keyword argument 'graveyard'

The run.sh is containing a bunch of output such as geometry plot, photon flux etc. Everything has the same error. Does anyone have experienced similar problem when using cad_to_h5m?

@Elisena welcome to the community! This looks like an issue in one of the scripts from the zpre repository itself (namely, it doesn’t seem to work with the latest version of cad_to_h5m). I would recommend creating an issue there.

I see, I will do just that then… thanks for the respond.