Jan Mühlnikel commited on
Commit
5ae70f9
·
1 Parent(s): a3e6187

fixed bug with id b3

Browse files
Files changed (1) hide show
  1. modules/multimatch_result_table.py +4 -4
modules/multimatch_result_table.py CHANGED
@@ -20,15 +20,15 @@ def show_multi_table(p1_df, p2_df):
20
  row_from_p1["crs_3_code_list"] = [row_from_p1['crs_3_code'].item().split(";")[:-1]]
21
  row_from_p2["crs_3_code_list"] = [row_from_p2['crs_3_code'].item().split(";")[:-1]]
22
  except:
23
- row_from_p1["crs_3_code_list"] = []
24
- row_from_p2["crs_3_code_list"] = []
25
 
26
  try:
27
  row_from_p1["crs_5_code_list"] = [row_from_p1['crs_5_code'].item().split(";")[:-1]]
28
  row_from_p2["crs_5_code_list"] = [row_from_p2['crs_5_code'].item().split(";")[:-1]]
29
  except:
30
- row_from_p1["crs_5_code_list"] = []
31
- row_from_p2["crs_5_code_list"] = []
32
 
33
  row_from_p1["sdg_list"] = [row_from_p1['sgd_pred_code'].item()]
34
  row_from_p2["sdg_list"] = [row_from_p2['sgd_pred_code'].item()]
 
20
  row_from_p1["crs_3_code_list"] = [row_from_p1['crs_3_code'].item().split(";")[:-1]]
21
  row_from_p2["crs_3_code_list"] = [row_from_p2['crs_3_code'].item().split(";")[:-1]]
22
  except:
23
+ row_from_p1["crs_3_code_list"] = [""]
24
+ row_from_p2["crs_3_code_list"] = [""]
25
 
26
  try:
27
  row_from_p1["crs_5_code_list"] = [row_from_p1['crs_5_code'].item().split(";")[:-1]]
28
  row_from_p2["crs_5_code_list"] = [row_from_p2['crs_5_code'].item().split(";")[:-1]]
29
  except:
30
+ row_from_p1["crs_5_code_list"] = [""]
31
+ row_from_p2["crs_5_code_list"] = [""]
32
 
33
  row_from_p1["sdg_list"] = [row_from_p1['sgd_pred_code'].item()]
34
  row_from_p2["sdg_list"] = [row_from_p2['sgd_pred_code'].item()]