VMTK Module_Code_Error?? #8
Closed
SoniceChelsea
started this conversation in
General
Replies: 1 comment 1 reply
-
Good morning Sanish, Thank you for you comment. Indeed it was a bug. I have already pushed a fix to the repository and you can update your local VMTK by requesting a 'fetch' in git. Cheers |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The following is the part of source code of StartGUI.py in vmtk-module.
if max_disp_yes_no==True and max_accel_yes_no==False:
edps=np.loadtxt(os.path.join(edps_folder,'max_displacements.csv'),delimiter=',')
elif max_disp_yes_no==False and max_accel_yes_no==True:
edps=np.loadtxt(os.path.join(edps_folder,'max_displacements.csv'),delimiter=',')
Here max_disp_yes_no and max_accel_yes_no represents whether EDP is max_accln or max displacement. But edps is loaded as max_displacement in both case, even when max_accln_yes_no is True. Is this an error, or this is done for some reason?
Thanks and Regards,
Sanish Bhochhibhoya
Beta Was this translation helpful? Give feedback.
All reactions