-
Notifications
You must be signed in to change notification settings - Fork 89
Description
Hi All,
Need urgent help and suggestion -
Setting existing keys for List value is throwing error "list index out of range". Please suggest how to handle it while updating existing values
"DesignModule":{
"StudyType":"Interventional",
"PhaseList":{
"Phase":[
"Phase 2"
]
},
"DesignInfo":{
"DesignAllocation":"Randomized",
"DesignInterventionModel":"Parallel Assignment",
"DesignPrimaryPurpose":"Treatment",
"DesignMaskingInfo":{
"DesignMasking":"Quadruple",
"DesignMaskingDescription":"With the implementation of Amendment 05 the study is no longer blinded.",
"DesignWhoMaskedList":{
"DesignWhoMasked":[
"Participant",
"Care Provider",
"Investigator",
"Outcomes Assessor"
]
}
}
},
"EnrollmentInfo":{
"EnrollmentCount":"154",
"EnrollmentType":"Actual"
}
},
dpath.util.set( load_res, "ProtocolSection/DesignModule/PhaseList/Phase" , "PhaseXY" )