recap UE: filtre modules avec coef nul
This commit is contained in:
parent
e4b9a48ebf
commit
20470484d1
@ -97,9 +97,11 @@ class ResultatsSemestreBUT:
|
||||
ue_idx = self.modimpl_coefs_df.index.get_loc(ue.id)
|
||||
etud_moy_module = self.sem_cube[etud_idx] # module x UE
|
||||
for mi in modimpls:
|
||||
coef = self.modimpl_coefs_df[mi.id][ue.id]
|
||||
if coef > 0:
|
||||
d[mi.module.code] = {
|
||||
"id": mi.id,
|
||||
"coef": self.modimpl_coefs_df[mi.id][ue.id],
|
||||
"coef": coef,
|
||||
"moyenne": jsnan(
|
||||
etud_moy_module[self.modimpl_coefs_df.columns.get_loc(mi.id)][
|
||||
ue_idx
|
||||
@ -211,6 +213,9 @@ class ResultatsSemestreBUT:
|
||||
"injustifie": 1,
|
||||
"total": 33,
|
||||
},
|
||||
"etapes": { # XXX TODO
|
||||
# à spécifier: liste des étapes Apogée
|
||||
},
|
||||
"date_debut": formsemestre.date_debut.isoformat(),
|
||||
"date_fin": formsemestre.date_fin.isoformat(),
|
||||
"annee_universitaire": self.formsemestre.annee_scolaire_str(),
|
||||
|
Loading…
Reference in New Issue
Block a user