Signed-off-by: cherif <cherif.balde@yahoo.fr>
master
cherif 2025-05-25 18:28:17 +02:00
parent 899cb9a139
commit 116c95aa55
3 changed files with 874 additions and 13 deletions

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ChangeListManager">
<list default="true" id="c6d0259a-16e1-410d-91a1-830590ee2a08" name="Changes" comment="2d3/05/2025 - 12h">
<list default="true" id="c6d0259a-16e1-410d-91a1-830590ee2a08" name="Changes" comment="2d3/05/2025 - 12hsdf">
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Log/log_file.log" beforeDir="false" afterPath="$PROJECT_DIR$/Log/log_file.log" afterDir="false" />
<change beforePath="$PROJECT_DIR$/base_class_calcul_note.py" beforeDir="false" afterPath="$PROJECT_DIR$/base_class_calcul_note.py" afterDir="false" />
@ -81,13 +81,6 @@
<option name="presentableId" value="Default" />
<updated>1680804787304</updated>
</task>
<task id="LOCAL-00422" summary="sdf">
<created>1735475357282</created>
<option name="number" value="00422" />
<option name="presentableId" value="LOCAL-00422" />
<option name="project" value="LOCAL" />
<updated>1735475357282</updated>
</task>
<task id="LOCAL-00423" summary="sdfd">
<created>1735494533471</created>
<option name="number" value="00423" />
@ -424,7 +417,14 @@
<option name="project" value="LOCAL" />
<updated>1748090633686</updated>
</task>
<option name="localTasksCounter" value="471" />
<task id="LOCAL-00471" summary="2d3/05/2025 - 12hsdf">
<created>1748106648808</created>
<option name="number" value="00471" />
<option name="presentableId" value="LOCAL-00471" />
<option name="project" value="LOCAL" />
<updated>1748106648809</updated>
</task>
<option name="localTasksCounter" value="472" />
<servers />
</component>
<component name="Vcs.Log.Tabs.Properties">
@ -466,7 +466,6 @@
</option>
</component>
<component name="VcsManagerConfiguration">
<MESSAGE value="05/03/2025 - 18h" />
<MESSAGE value="10/03/2025 - 13h" />
<MESSAGE value="29/03/2025 - 9h" />
<MESSAGE value="29/03/2025 - 21h" />
@ -491,6 +490,7 @@
<MESSAGE value="20/05/2025 - 21dhu" />
<MESSAGE value="23/05/2025 - 12h" />
<MESSAGE value="2d3/05/2025 - 12h" />
<option name="LAST_COMMIT_MESSAGE" value="2d3/05/2025 - 12h" />
<MESSAGE value="2d3/05/2025 - 12hsdf" />
<option name="LAST_COMMIT_MESSAGE" value="2d3/05/2025 - 12hsdf" />
</component>
</project>

File diff suppressed because one or more lines are too long

View File

@ -602,18 +602,34 @@ def Cacul_UE_Note_Finale_For_calcul_mode_1(diction):
'locked': '0',
})
if( type_eval_td_data is None ):
mycommon.myprint(
str(inspect.stack()[0][3]) + " Aucun type d'évaluation de type 'TD', merci de vérifier le paramétrage des types d'évaluation ")
return False, " Aucun type d'évaluation de type 'TD', merci de vérifier le paramétrage des types d'évaluation "
type_eval_tp_data = MYSY_GV.dbname['type_evaluation'].find_one({'code': {'$regex': "tp", "$options": "i"},
'partner_owner_recid': str(my_partner['recid']),
'valide': '1',
'locked': '0',
})
if (type_eval_tp_data is None):
mycommon.myprint(
str(inspect.stack()[0][
3]) + " Aucun type d'évaluation de type 'TP', merci de vérifier le paramétrage des types d'évaluation ")
return False, " Aucun type d'évaluation de type 'TP', merci de vérifier le paramétrage des types d'évaluation "
type_eval_examen_data = MYSY_GV.dbname['type_evaluation'].find_one({'code': {'$regex': "Examen", "$options": "i"},
'partner_owner_recid': str(my_partner['recid']),
'valide': '1',
'locked': '0',
})
if (type_eval_examen_data is None):
mycommon.myprint(
str(inspect.stack()[0][
3]) + " Aucun type d'évaluation de type 'Examen', merci de vérifier le paramétrage des types d'évaluation ")
return False, " Aucun type d'évaluation de type 'Exame', merci de vérifier le paramétrage des types d'évaluation "
@ -1536,7 +1552,6 @@ def Get_List_base_calcul_note_class_and_ue_With_Filter(diction):
Fonction globale de calcul en prenant en entrée une session
"""
def Calcul_Note_Classement_Session(diction):
try:
diction = mycommon.strip_dictionary(diction)