forked from ScoDoc/ScoDoc
PE: fix (mais calcul coef. non compatible BUT)
This commit is contained in:
parent
03d23cfaab
commit
8044a8c1e1
@ -256,7 +256,7 @@ class SemestreTag(pe_tagtable.TableTag):
|
|||||||
# Si le module ne fait pas partie des UE capitalisées
|
# Si le module ne fait pas partie des UE capitalisées
|
||||||
if modimpl.module.ue.id not in ue_capitalisees_id:
|
if modimpl.module.ue.id not in ue_capitalisees_id:
|
||||||
note = self.nt.get_etud_mod_moy(modimpl_id, etudid) # lecture de la note
|
note = self.nt.get_etud_mod_moy(modimpl_id, etudid) # lecture de la note
|
||||||
coeff = modimpl.module.coefficient # le coeff
|
coeff = modimpl.module.coefficient or 0.0 # le coeff (! non compatible BUT)
|
||||||
coeff_norm = (
|
coeff_norm = (
|
||||||
coeff / self.somme_coeffs if self.somme_coeffs != 0 else 0
|
coeff / self.somme_coeffs if self.somme_coeffs != 0 else 0
|
||||||
) # le coeff normalisé
|
) # le coeff normalisé
|
||||||
|
Loading…
Reference in New Issue
Block a user