forked from ScoDoc/DocScoDoc
Fix pour #471 : à confirmer.
This commit is contained in:
parent
84c08ff225
commit
e2ca74fd50
@ -484,12 +484,16 @@ def get_jury_but_etud_result(
|
|||||||
rcue_dict = {
|
rcue_dict = {
|
||||||
"ue_1": {
|
"ue_1": {
|
||||||
"ue_id": rcue.ue_1.id,
|
"ue_id": rcue.ue_1.id,
|
||||||
"moy": None if np.isnan(dec_ue1.moy_ue) else dec_ue1.moy_ue,
|
"moy": None
|
||||||
|
if (dec_ue1.moy_ue is None or np.isnan(dec_ue1.moy_ue))
|
||||||
|
else dec_ue1.moy_ue,
|
||||||
"code": dec_ue1.code_valide,
|
"code": dec_ue1.code_valide,
|
||||||
},
|
},
|
||||||
"ue_2": {
|
"ue_2": {
|
||||||
"ue_id": rcue.ue_2.id,
|
"ue_id": rcue.ue_2.id,
|
||||||
"moy": None if np.isnan(dec_ue2.moy_ue) else dec_ue2.moy_ue,
|
"moy": None
|
||||||
|
if (dec_ue2.moy_ue is None or np.isnan(dec_ue2.moy_ue))
|
||||||
|
else dec_ue2.moy_ue,
|
||||||
"code": dec_ue2.code_valide,
|
"code": dec_ue2.code_valide,
|
||||||
},
|
},
|
||||||
"moy": rcue.moy_rcue,
|
"moy": rcue.moy_rcue,
|
||||||
|
Loading…
Reference in New Issue
Block a user