ositah 24.9.dev7__py3-none-any.whl → 24.9.dev8__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of ositah might be problematic. Click here for more details.
- ositah/apps/export.py +16 -3
- {ositah-24.9.dev7.dist-info → ositah-24.9.dev8.dist-info}/METADATA +1 -1
- {ositah-24.9.dev7.dist-info → ositah-24.9.dev8.dist-info}/RECORD +7 -7
- {ositah-24.9.dev7.dist-info → ositah-24.9.dev8.dist-info}/WHEEL +1 -1
- {ositah-24.9.dev7.dist-info → ositah-24.9.dev8.dist-info}/LICENSE +0 -0
- {ositah-24.9.dev7.dist-info → ositah-24.9.dev8.dist-info}/entry_points.txt +0 -0
- {ositah-24.9.dev7.dist-info → ositah-24.9.dev8.dist-info}/top_level.txt +0 -0
ositah/apps/export.py
CHANGED
|
@@ -164,8 +164,10 @@ def nsip_export_table(team, team_selection_date, period_date: str, declarations_
|
|
|
164
164
|
)
|
|
165
165
|
agent_list = get_agents(period_date, team)
|
|
166
166
|
if team is None or team == TEAM_LIST_ALL_AGENTS:
|
|
167
|
-
# If no team is selected, merge left to include declarations from agents
|
|
168
|
-
#
|
|
167
|
+
# If no team is selected, merge left to include declarations from agents whose
|
|
168
|
+
# email_auth don't match between Hito and NSIP. It is typically the case for agents
|
|
169
|
+
# who are no longer active in NSIP (e.g. agents who left the lab during the
|
|
170
|
+
# declaration period).
|
|
169
171
|
merge_how = "left"
|
|
170
172
|
else:
|
|
171
173
|
merge_how = "inner"
|
|
@@ -210,7 +212,8 @@ def nsip_export_table(team, team_selection_date, period_date: str, declarations_
|
|
|
210
212
|
# For OSITAH entries not found in NSIP, it may be that the agent left the lab during
|
|
211
213
|
# the declaration period: in this case there is an entry in NSIP where the RESEDA email
|
|
212
214
|
# has been replaced by a UUID allowing to update NSIP data. Check if such an entry
|
|
213
|
-
# exists in NSIP with a matching fullname and use it if it exists
|
|
215
|
+
# exists in NSIP with a matching fullname and use it if it exists. It also happens if the
|
|
216
|
+
# agent email_auth changed during the period.
|
|
214
217
|
# To make matching easier, index is temporarily set to fullname instead of an integer.
|
|
215
218
|
nsip_missing_agent_names = declaration_list.loc[
|
|
216
219
|
declaration_list["_merge"] == "left_only", columns["fullname"]
|
|
@@ -472,6 +475,16 @@ def nsip_export_table(team, team_selection_date, period_date: str, declarations_
|
|
|
472
475
|
)
|
|
473
476
|
),
|
|
474
477
|
]
|
|
478
|
+
if team and team != TEAM_LIST_ALL_AGENTS:
|
|
479
|
+
page_title.append(
|
|
480
|
+
html.Div(
|
|
481
|
+
(
|
|
482
|
+
"Certains agents peuvent apparaitre non synchronisés s'ils ont quitté"
|
|
483
|
+
f" le laboratoire: utiliser '{TEAM_LIST_ALL_AGENTS}' pour vérifier"
|
|
484
|
+
),
|
|
485
|
+
style={"fontStyle": "italic", "fontWeight": "bold"},
|
|
486
|
+
)
|
|
487
|
+
)
|
|
475
488
|
|
|
476
489
|
if declarations_set == NSIP_DECLARATIONS_SELECT_ALL:
|
|
477
490
|
selected_declarations = declaration_list
|
|
@@ -4,7 +4,7 @@ ositah/main.py,sha256=97IhSMIqIVWC6GdXWievxE-tu30-UboivbW9_NTNzww,15644
|
|
|
4
4
|
ositah/ositah.example.cfg,sha256=4zQOL3ynGN9bO6j-bekJeJWUe7Xq-c0eySNOHKMr2K8,8000
|
|
5
5
|
ositah/apps/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
6
6
|
ositah/apps/analysis.py,sha256=J9oE93g6wIvKh9TnT4TudmUdW75wzArx1CaB_1yuRB8,28634
|
|
7
|
-
ositah/apps/export.py,sha256=
|
|
7
|
+
ositah/apps/export.py,sha256=lOQWSF0A06kXp5cPshY30J9vjRltmPzASvHYCmek3Qw,48146
|
|
8
8
|
ositah/apps/configuration/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
9
9
|
ositah/apps/configuration/callbacks.py,sha256=HbsyE0WeCTmPl14SAs-mDglvMywxA4qSeVN72jSv-bM,33455
|
|
10
10
|
ositah/apps/configuration/main.py,sha256=LbyupMqFUPDJCZBuRzoGREuHNxbinj3Ooj1HTJCeYUM,20349
|
|
@@ -38,9 +38,9 @@ ositah/utils/period.py,sha256=ZuaiZ2gvSIjd23isvygEVoAvonH4ehbexjrS4EwSGyI,4258
|
|
|
38
38
|
ositah/utils/projects.py,sha256=LuyUVtKqTb3qUWbsgwrE-9DqyW1bkV9y-n_n0oRaotQ,43476
|
|
39
39
|
ositah/utils/teams.py,sha256=K8Z6kqs-kFpNiIg6wgmmZ3_tmfUPaB7wp0OAGmmZPG4,1234
|
|
40
40
|
ositah/utils/utils.py,sha256=NQq0roHDvIkKj1gl88yu3bvloH0dPnBE1rKXVP_hdK4,17082
|
|
41
|
-
ositah-24.9.
|
|
42
|
-
ositah-24.9.
|
|
43
|
-
ositah-24.9.
|
|
44
|
-
ositah-24.9.
|
|
45
|
-
ositah-24.9.
|
|
46
|
-
ositah-24.9.
|
|
41
|
+
ositah-24.9.dev8.dist-info/LICENSE,sha256=2C86YWCx1fvz92WySupcb6_t4NhHCVPE_ucy0YMTuoc,1550
|
|
42
|
+
ositah-24.9.dev8.dist-info/METADATA,sha256=4UDKlnEf21czK8POzIlacouIZ3WHB7bxMqrzandzjW8,8106
|
|
43
|
+
ositah-24.9.dev8.dist-info/WHEEL,sha256=UvcQYKBHoFqaQd6LKyqHw9fxEolWLQnlzP0h_LgJAfI,91
|
|
44
|
+
ositah-24.9.dev8.dist-info/entry_points.txt,sha256=t9oDDLUO1LwHJewlE862LbJMHpDTEyqbeUAPw_F7Q3I,44
|
|
45
|
+
ositah-24.9.dev8.dist-info/top_level.txt,sha256=3kfj_oK4xoZFt0nsw6KKT_aoqshELBu0ryLXECbcqNI,7
|
|
46
|
+
ositah-24.9.dev8.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|