Campbell-Muscle-Lab / PyMyoVent

PyMyoVent is computer code that simulates an idealized ventricle pumping blood around a single circulation.
http://Campbell-Muscle-Lab.github.io/PyMyoVent/index.html
BSD 3-Clause "New" or "Revised" License
3 stars 4 forks source link

Import problem with Grandi_2009 #15

Closed kenatcampbellmusclelab closed 3 years ago

kenatcampbellmusclelab commented 3 years ago

Ken tried to run the demo at https://campbell-muscle-lab.github.io/PyMyoVent/pages/demos/baroreceptor/baroreceptor_steady_state.html

and got this error

(PyMyoVent) C:\ken\GitHub\CampbellMuscleLab\models\PyMyoVent\Python_code>python PyMyoVent.py run_defined_model ../demo_files/baroreceptor/baroreceptor_model.json Traceback (most recent call last): File "PyMyoVent.py", line 15, in <module> from modules.SingleVentricle.SingleVentricle import single_circulation as sc File "C:\ken\GitHub\CampbellMuscleLab\models\PyMyoVent\Python_code\modules\SingleVentricle\SingleVentricle.py", line 13, in <module> from modules.MyoSim.half_sarcomere import half_sarcomere as hs File "C:\ken\GitHub\CampbellMuscleLab\models\PyMyoVent\Python_code\modules\MyoSim\half_sarcomere\half_sarcomere.py", line 4, in <module> from modules.MyoSim.half_sarcomere.membranes import membranes as membranes File "C:\ken\GitHub\CampbellMuscleLab\models\PyMyoVent\Python_code\modules\MyoSim\half_sarcomere\membranes\membranes.py", line 13, in <module> from .Grandi_2009 import initConsts as g_initConsts ModuleNotFoundError: No module named 'modules.MyoSim.half_sarcomere.membranes.Grandi_2009'

kenatcampbellmusclelab commented 3 years ago

Working mainly with 2-compartment model. Let's leave this for now.