First time here? Checkout the FAQ!
x
0 votes
by (1.2k points)

I did a fresh install of openCARP from source today and attempted to run Example 21. However, I get the following missing prepace function error:

Traceback (most recent call last):

  File "./run.py", line 730, in <module>

    run()

  File "/home/edorachlee/Desktop/openCARP/external/carputils/carputils/tools.py", line 524, in wrapped

    ret = run(args, job)

  File "./run.py", line 560, in run

    model.prepace.prepace(args, job, cmd, meshname, sinus, steady_state_dir, tissue_init)

AttributeError: module 'carputils.model' has no attribute 'prepace'

I see that the prepace function was added two weeks ago, but I have installed carputils just today so I am confused where I am going wrong. Please let me know.

1 Answer

0 votes
by (17.5k points)
selected by
 
Best answer

Hi Chang,

indeed the change was not yet included in the carputils version that's included as external reference in the openCARP repository. Please try again after running a git pull in externals/carputils.

Welcome to openCARP Q&A. Ask questions and receive answers from other members of the community. For best support, please use appropriate TAGS!
architecture, carputils, documentation, experiments, installation-containers-packages, limpet, slimfem, website, governance
...