meta-edc 1.6.2__py3-none-any.whl → 1.6.3__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.
- meta_analytics/dataframes/get_glucose_df.py +3 -1
- {meta_edc-1.6.2.dist-info → meta_edc-1.6.3.dist-info}/METADATA +5 -4
- {meta_edc-1.6.2.dist-info → meta_edc-1.6.3.dist-info}/RECORD +5 -5
- {meta_edc-1.6.2.dist-info → meta_edc-1.6.3.dist-info}/WHEEL +0 -0
- {meta_edc-1.6.2.dist-info → meta_edc-1.6.3.dist-info}/licenses/LICENSE +0 -0
|
@@ -145,6 +145,9 @@ def get_glucose_df(subject_identifiers: list[str] | None = None) -> pd.DataFrame
|
|
|
145
145
|
for col in ["fasted", "fbg_value", "ogtt_value", "fbg_datetime", "ogtt_datetime"]:
|
|
146
146
|
df[col] = df[col].fillna(df[f"{col}_2"])
|
|
147
147
|
|
|
148
|
+
for col in [c for c in df.columns if "datetime" in c]:
|
|
149
|
+
df[col] = pd.to_datetime(df[col], errors="coerce")
|
|
150
|
+
|
|
148
151
|
df_consent = get_subject_consent("meta_consent.subjectconsent")
|
|
149
152
|
df_eos = get_eos("meta_prn.endofstudy")
|
|
150
153
|
df = df.merge(
|
|
@@ -156,7 +159,6 @@ def get_glucose_df(subject_identifiers: list[str] | None = None) -> pd.DataFrame
|
|
|
156
159
|
on="subject_identifier",
|
|
157
160
|
how="left",
|
|
158
161
|
)
|
|
159
|
-
|
|
160
162
|
df["visit_days"] = df["baseline_datetime"].rsub(df["visit_datetime"]).dt.days
|
|
161
163
|
df["fgb_days"] = df["baseline_datetime"].rsub(df["fbg_datetime"]).dt.days
|
|
162
164
|
df["ogtt_days"] = df["baseline_datetime"].rsub(df["ogtt_datetime"]).dt.days
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: meta-edc
|
|
3
|
-
Version: 1.6.
|
|
3
|
+
Version: 1.6.3
|
|
4
4
|
Summary: META Trial EDC (https://www.isrctn.com/ISRCTN76157257)
|
|
5
5
|
Keywords: django,clinicedc,META EDC,EDC,clinical trials,META Trial,ISRCTN76157257
|
|
6
6
|
Author: Erik van Widenfelt, Jonathan Willitts
|
|
@@ -16,6 +16,7 @@ Classifier: Intended Audience :: Science/Research
|
|
|
16
16
|
Classifier: Operating System :: OS Independent
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.12
|
|
18
18
|
Classifier: Programming Language :: Python :: 3.13
|
|
19
|
+
Requires-Dist: django==5.2.10
|
|
19
20
|
Requires-Dist: celery>=5.6.2
|
|
20
21
|
Requires-Dist: clinicedc==2.3.4
|
|
21
22
|
Requires-Dist: edc-he>=1.5.2
|
|
@@ -91,8 +92,8 @@ Assuming you are logged into the account ``myaccount``:
|
|
|
91
92
|
mkdir ~/edc && \
|
|
92
93
|
cd ~/edc && \
|
|
93
94
|
uv venv && \
|
|
94
|
-
uv pip install -U meta-edc==1.6.
|
|
95
|
-
wget https://raw.githubusercontent.com/meta-trial/meta-edc/1.6.
|
|
95
|
+
uv pip install -U meta-edc==1.6.2 && \
|
|
96
|
+
wget https://raw.githubusercontent.com/meta-trial/meta-edc/1.6.2/manage.py && \
|
|
96
97
|
uv pip freeze | grep meta-edc
|
|
97
98
|
|
|
98
99
|
Copy your ``.env`` file to ``~/.etc``.
|
|
@@ -142,7 +143,7 @@ From the above example:
|
|
|
142
143
|
|
|
143
144
|
cd ~/edc && \
|
|
144
145
|
uv venv --clear && \
|
|
145
|
-
uv pip install -U meta-edc==1.6.
|
|
146
|
+
uv pip install -U meta-edc==1.6.2 && \
|
|
146
147
|
wget -O manage.py https://raw.githubusercontent.com/meta-trial/meta-edc/1.1.10/manage.py && \
|
|
147
148
|
uv pip freeze | grep meta-edc && \
|
|
148
149
|
python manage.py check
|
|
@@ -84,7 +84,7 @@ meta_analytics/constants.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
|
84
84
|
meta_analytics/dataframes/__init__.py,sha256=naGZtYGJ8BW03XslsFPZe9VZ2fWuU9ew84BB_iBLWxo,1266
|
|
85
85
|
meta_analytics/dataframes/constants.py,sha256=oA0a9N7RzYstXuZXWclUjrbsWvNQbv1F4P9lFGlNRRg,937
|
|
86
86
|
meta_analytics/dataframes/get_eos_df.py,sha256=N_7A_Io3KCGj8mrMjUfYP7w6gi7_2Dx2RSG6orQTWp4,1226
|
|
87
|
-
meta_analytics/dataframes/get_glucose_df.py,sha256=
|
|
87
|
+
meta_analytics/dataframes/get_glucose_df.py,sha256=90tSprxl0HURhGmFP_sbw8FjB6LHqHxS9ke5BVofzW4,6362
|
|
88
88
|
meta_analytics/dataframes/get_glucose_fbg_df.py,sha256=yAshgtc_R6Q41p5iA9n7a_W0llp1JRsnj3NGQE6kVRk,898
|
|
89
89
|
meta_analytics/dataframes/get_glucose_fbg_ogtt_df.py,sha256=BfMU1sNj1a4dVOy7yKGESARpb3SNTFxLA-BVB5oZ14Q,657
|
|
90
90
|
meta_analytics/dataframes/get_last_imp_visits_df.py,sha256=N5tL6gANDr_g5AuNVv_cEN4U-QktLxJUAJaUIW2MiWs,3818
|
|
@@ -1158,7 +1158,7 @@ meta_visit_schedule/visit_schedules/phase_three/schedule.py,sha256=LO9HqV6r_LUEY
|
|
|
1158
1158
|
meta_visit_schedule/visit_schedules/phase_three/schedule_dm_referral.py,sha256=q12p5wXc2D7lSiJVBnoSQw8Q3vL6uDx1t3PuDJO-Z-U,1735
|
|
1159
1159
|
meta_visit_schedule/visit_schedules/phase_three/schedule_pregnancy.py,sha256=bEpbpCX3vfZmnsqudr0z8PU5kiaX4ws1sO5Im98Mo28,1106
|
|
1160
1160
|
meta_visit_schedule/visit_schedules/phase_three/visit_schedule.py,sha256=ak4qazeKlpIlvpqrK9hDDO0fwWuWyvb4Ec-JU31IJxc,654
|
|
1161
|
-
meta_edc-1.6.
|
|
1162
|
-
meta_edc-1.6.
|
|
1163
|
-
meta_edc-1.6.
|
|
1164
|
-
meta_edc-1.6.
|
|
1161
|
+
meta_edc-1.6.3.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
|
1162
|
+
meta_edc-1.6.3.dist-info/WHEEL,sha256=XV0cjMrO7zXhVAIyyc8aFf1VjZ33Fen4IiJk5zFlC3g,80
|
|
1163
|
+
meta_edc-1.6.3.dist-info/METADATA,sha256=RBRfaXQ9-YCfGVgqWIImlqMYEiEdGJhZBgq9StRVrTA,5260
|
|
1164
|
+
meta_edc-1.6.3.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|