@@ -311,16 +311,19 @@ def new_rearrange_list(self, _list: list, app_type: str) -> list:
311
311
self .separate_list_section (apps , ('RQS!AQ!ZZ!$ 4!!' , 'RQS!AQ!ZZ!$ 9!!' ), 'RQS!AQ!ZZ!$ 11!!' , 5 , self .conduct_list )
312
312
self .separate_list_section (apps , ('RQS!AQ!ZZ!RES: PREVIOUS ENROLLMENT!!' ), 'RQS!AQ!ZZ!RES: DETERM!' , 1 , self .residency_list )
313
313
self .separate_list_question (apps , idx , ('Consultant Agency\\ ' , 'Consultant/Agency\\ ' ), 3 , self .consultant_list )
314
- self .new_consultant_list = self .merge_list_question (self .consultant_list )
315
314
self .separate_list_question (apps , idx , 'RQS!AQ!ZZ!$ 1!!' , 4 , self .concentration_list )
316
315
self .separate_list_question (apps , idx , 'Faculty Mentor\\ ' , 4 , self .faculty_list )
317
316
318
- pprint (self .new_consultant_list )
317
+ if len (self .consultant_list ) != len (new_list ):
318
+ self .new_consultant_list = self .merge_list_question (self .consultant_list )
319
+
320
+ # pprint(self.consultant_list)
321
+ pprint (len (self .consultant_list ))
319
322
print (len (self .new_consultant_list ))
320
- # print(len(self.faculty_list))
321
- # print(len(self.concentration_list))
323
+ print (len (self .faculty_list ))
324
+ print (len (self .concentration_list ))
322
325
# pprint(new_list[4])
323
- # print(len(new_list))
326
+ print (len (new_list ))
324
327
325
328
# for apps in new_list:
326
329
# print(len(apps))
0 commit comments