Page 1 of 1
SCONE error
Posted: Mon May 23, 2022 4:08 am
by amini_opensim
Hello guys
I would like to open the WeaknessSOLMild.scone from the paper" Predicting gait adaptations due to ankle plantarflexor muscle weakness and contracture using physics-based musculoskeletal simulations" . But the this error is been made. Would you please guide me how to fix it?
OpenSimModel:
GaitStateController:
ReflexController:
Error parsing parameter 'S00011.glut_max.L0': mean is outside range
- Captureww.PNG (12.73 KiB) Viewed 493 times
Re: SCONE error
Posted: Mon May 23, 2022 6:45 am
by tgeijten
Hi Samane, where did you obtain the .scone file from? I can have a look and see if I can fix it.
Re: SCONE error
Posted: Mon May 23, 2022 7:02 am
by amini_opensim
Hey Thomas
Thank you for your replying
I have obtained it from the following link:
https://simtk.org/frs/?group_id=1631
Best
Re: SCONE error
Posted: Mon May 23, 2022 10:30 am
by ongcf
The issue came up because of some of the default values in the file 'scone-setup-files/import/GaitController.scone'.
Code: Select all
Reflex {
type = MuscleReflex
target = glut_max
delay = 0.005
KL {
init_mean = 0.5
init_std = 0.2
min = 0.0
max = 10.0
}
L0 {
init_mean = 1.2
init_std = 0.1
min = 0.5
max = 1.1
}
KV {
init_mean = 0.2
init_std = 0.2
min = 0.0
max = 10.0
}
For L0, the 'init_mean' parameter is out of bounds of the 'min' and 'max' values. Updating that parameter to be valid will likely fix the issue.
Note that these files aren't tested on newer versions of SCONE. My guess is that there was a change to when the mean value is checked against the min and max values. The .par file that is used as the 'init_file' has a L0 value for glut_max that is within bounds. So, there may be other instances of this issue that will have to be fixed to use these files with a newer version of SCONE.
Re: SCONE error
Posted: Tue May 24, 2022 3:02 am
by amini_opensim
Hey Carmichael
Thank you for your replying.
Do you think which SCONE version will work on it?
Best
Re: SCONE error
Posted: Tue May 24, 2022 3:22 am
by amini_opensim
Hi again
I have installed scone version 1.0. it works. However, giving a scenario has made an error:
Would you please how to correct it?
- Capturesss.PNG (16.55 KiB) Viewed 433 times
Re: SCONE error
Posted: Tue Jun 21, 2022 7:26 am
by tgeijten
Please note that this issue has been resolved. You can download the updated files form the
project page.