forked from ScoDoc/ScoDoc
Fix: jury formation classique en cas de défaillance
This commit is contained in:
parent
6c56b921e8
commit
41a791282a
@ -381,7 +381,11 @@ class ResultatsSemestre(ResultatsCache):
|
|||||||
was_capitalized = False
|
was_capitalized = False
|
||||||
if etudid in self.validations.ue_capitalisees.index:
|
if etudid in self.validations.ue_capitalisees.index:
|
||||||
ue_cap = self._get_etud_ue_cap(etudid, ue)
|
ue_cap = self._get_etud_ue_cap(etudid, ue)
|
||||||
if ue_cap and not np.isnan(ue_cap["moy_ue"]):
|
if (
|
||||||
|
ue_cap
|
||||||
|
and (ue_cap["moy_ue"] is not None)
|
||||||
|
and not np.isnan(ue_cap["moy_ue"])
|
||||||
|
):
|
||||||
was_capitalized = True
|
was_capitalized = True
|
||||||
if ue_cap["moy_ue"] > cur_moy_ue or np.isnan(cur_moy_ue):
|
if ue_cap["moy_ue"] > cur_moy_ue or np.isnan(cur_moy_ue):
|
||||||
moy_ue = ue_cap["moy_ue"]
|
moy_ue = ue_cap["moy_ue"]
|
||||||
|
Loading…
Reference in New Issue
Block a user