You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the process_patient(infile) function of preprocess_mimic.py file, the below code segment declared two dictionary for storing patient_ids and relevant encounter information
for patient_id, time_enc_tuples in patient_dict.items():
patient_dict_sorted[patient_id] = sorted(time_enc_tuples)
The variables patient_dict and patient_dict_sorted are neither used later inside the scope of the function nor are they returned to the caller of the function. I think this part of the code could be struck? If not, could you please explain this particular code segment? Thanks.
The text was updated successfully, but these errors were encountered:
In the
process_patient(infile)
function of preprocess_mimic.py file, the below code segment declared two dictionary for storing patient_ids and relevant encounter informationThe variables patient_dict and patient_dict_sorted are neither used later inside the scope of the function nor are they returned to the caller of the function. I think this part of the code could be struck? If not, could you please explain this particular code segment? Thanks.
The text was updated successfully, but these errors were encountered: