clinicedc 2.0.17__py3-none-any.whl → 2.0.19__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 clinicedc might be problematic. Click here for more details.
- {clinicedc-2.0.17.dist-info → clinicedc-2.0.19.dist-info}/METADATA +1 -1
- {clinicedc-2.0.17.dist-info → clinicedc-2.0.19.dist-info}/RECORD +11 -11
- edc_model_to_dataframe/__init__.py +0 -2
- edc_model_to_dataframe/model_to_dataframe.py +0 -8
- edc_model_to_dataframe/read_frame_edc.py +3 -1
- edc_pdutils/dataframes/get_crf.py +1 -1
- edc_pdutils/df_exporters/csv_model_exporter.py +1 -1
- edc_pdutils/management/commands/export_models.py +1 -1
- edc_pdutils/utils/missing_subject_identifiers.py +2 -2
- {clinicedc-2.0.17.dist-info → clinicedc-2.0.19.dist-info}/WHEEL +0 -0
- {clinicedc-2.0.17.dist-info → clinicedc-2.0.19.dist-info}/licenses/LICENSE +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: clinicedc
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.19
|
|
4
4
|
Summary: A clinical trials data management framework built on Django
|
|
5
5
|
Keywords: django,clinicedc,edc,clinical trials,research,data management,esource
|
|
6
6
|
Author: Erik van Widenfelt, Jonathan Willitts
|
|
@@ -1963,11 +1963,11 @@ edc_model_form/mixins/inline_model_form_mixin.py,sha256=dxpzFcwHoNi2y7vWF1QdAqOb
|
|
|
1963
1963
|
edc_model_form/mixins/report_datetime_modelform_mixin.py,sha256=f1DrM-aUh2o3DM65MM3nwiZUXhhnvth8_3tvbS1cWOQ,1008
|
|
1964
1964
|
edc_model_form/urls.py,sha256=_sVCnQeiAFRYKhxga3_DjoKj_4bgs1s2gjcynDiapvA,111
|
|
1965
1965
|
edc_model_form/utils.py,sha256=gGe3etrp5YF4AKMGFIR3I9V1CfX4c5Wm6fK-8JkUeT4,538
|
|
1966
|
-
edc_model_to_dataframe/__init__.py,sha256=
|
|
1966
|
+
edc_model_to_dataframe/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
1967
1967
|
edc_model_to_dataframe/apps.py,sha256=US1ehhJPgkvmIDZXiUPMoSjHTWIztUbYGtx_azTXPIQ,290
|
|
1968
1968
|
edc_model_to_dataframe/constants.py,sha256=xgCr2ZXUsjZqf4wfpY0JBhQoARzQEVS8tnkfBWwOMVQ,702
|
|
1969
|
-
edc_model_to_dataframe/model_to_dataframe.py,sha256=
|
|
1970
|
-
edc_model_to_dataframe/read_frame_edc.py,sha256=
|
|
1969
|
+
edc_model_to_dataframe/model_to_dataframe.py,sha256=cOTcoe9ivJERAXt3dULtoon6j9_cgh2-T-y3P0FBimo,18493
|
|
1970
|
+
edc_model_to_dataframe/read_frame_edc.py,sha256=UNe2f5bJi1Wkn4Jyva5TMnhyxk8vvGpG4U12kGyqqVY,820
|
|
1971
1971
|
edc_model_to_dataframe/urls.py,sha256=KChLHeE6yfONC6IdMm3Q4U3u7tmy_Mb1w2lrbpFz96g,148
|
|
1972
1972
|
edc_navbar/__init__.py,sha256=Y95juevvOawGZmOV3Ofef7oGwYSWWttAYT0v0mehkJc,195
|
|
1973
1973
|
edc_navbar/apps.py,sha256=fiWHsCYaDnHXNfYUu6DuvlAcO2k45-zkdbuXwXI3ksc,367
|
|
@@ -2133,7 +2133,7 @@ edc_pdutils/constants.py,sha256=v4J4xjBJC49IeLQqVrjZyqF1OKAzOjm-TMqF38siR6g,785
|
|
|
2133
2133
|
edc_pdutils/database.py,sha256=bevHPm0BDsMai6tfR94nERV3bIOQz4pkoniGYp0Ha3s,4468
|
|
2134
2134
|
edc_pdutils/dataframes/__init__.py,sha256=mr2vvMm1E5sj5VXbk3iUKlZy2HeS3odZlQyi5HhiiEU,264
|
|
2135
2135
|
edc_pdutils/dataframes/get_appointments.py,sha256=R3lzLbloR-pabMXREhcgmrfMC1CP6d6DrnxNyLbTOQI,2503
|
|
2136
|
-
edc_pdutils/dataframes/get_crf.py,sha256=
|
|
2136
|
+
edc_pdutils/dataframes/get_crf.py,sha256=WVRs9VHTpaYBRAXvbWeoDGNGPqe096vUp0hegZPEFyc,4468
|
|
2137
2137
|
edc_pdutils/dataframes/get_eos.py,sha256=qzlERHSm-vydI8M4XuSF5oIIcBtYbu7PxKXWXb5wikQ,1350
|
|
2138
2138
|
edc_pdutils/dataframes/get_next_appointments.py,sha256=VUuTQ5T15PxAVNlJId2rH70PyAzaHXqFGWJH0qd4Kfs,784
|
|
2139
2139
|
edc_pdutils/dataframes/get_subject_consent.py,sha256=e-G4rCdRtv2c9dBDA6HsezoZgxj8DPtyktnc5b6Mvj0,2030
|
|
@@ -2142,7 +2142,7 @@ edc_pdutils/df_exporters/__init__.py,sha256=K2CbrO9yrBEr_9k6nRbSOepBhBWY1tCcHCd_
|
|
|
2142
2142
|
edc_pdutils/df_exporters/csv_crf_inline_tables_exporter.py,sha256=OUV6BGVFgYXQ3osccPVqAZ_2hRbfQew86BLqFkuEFS8,3218
|
|
2143
2143
|
edc_pdutils/df_exporters/csv_crf_tables_exporter.py,sha256=hBx5n-Khr9ooO_RfTtEUjyDx6JL0QuNCmFpFDI7azXY,1047
|
|
2144
2144
|
edc_pdutils/df_exporters/csv_exporter.py,sha256=1JE9DGWKIfA1iTXywz9gVytW1aP7Ebfj3k7Mt5qvw2k,10029
|
|
2145
|
-
edc_pdutils/df_exporters/csv_model_exporter.py,sha256=
|
|
2145
|
+
edc_pdutils/df_exporters/csv_model_exporter.py,sha256=7HJvtsgIuC5EgGyEc_YLE3cEHim-I-Na4UKZy0_9sZw,1586
|
|
2146
2146
|
edc_pdutils/df_exporters/csv_noncrf_tables_exporter.py,sha256=twgj1hM53KgiqbHoV1m54eEuZ6-I6BWdJcwNLmoefiY,788
|
|
2147
2147
|
edc_pdutils/df_exporters/tables_exporter.py,sha256=4juRZ87xl7Ph6NzC-iss2pcyq1muLmhezgz6IpkYP7g,4576
|
|
2148
2148
|
edc_pdutils/df_handlers/__init__.py,sha256=8c3N4G_fmc_6bshSjAtEu-aQelGzN4ZeXU7J6s0lfRo,123
|
|
@@ -2157,7 +2157,7 @@ edc_pdutils/dialects/rs_dialect.py,sha256=G1aGOeefsJj5f0souyoJBBQ-AXHyli0Gxqeib6
|
|
|
2157
2157
|
edc_pdutils/helper.py,sha256=dRujtvFA1pbuPoFjJ5M2ElAdA1j5qMbfGMspg1weD5k,1667
|
|
2158
2158
|
edc_pdutils/management/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2159
2159
|
edc_pdutils/management/commands/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2160
|
-
edc_pdutils/management/commands/export_models.py,sha256=
|
|
2160
|
+
edc_pdutils/management/commands/export_models.py,sha256=ALBuoBv0rSmXw8FSIabkkZer7Y_rQvXqVYUmnQS704s,9573
|
|
2161
2161
|
edc_pdutils/mappings.py,sha256=qlUrcoQdHg5vCEizEwF6EByqJedmYDVT6r94QDEi-Hg,77
|
|
2162
2162
|
edc_pdutils/migrations/0001_initial.py,sha256=yZ8Ap-c1W87E-Bud74X8BAcbqgjWKQsOl3WykJRz3Xw,12271
|
|
2163
2163
|
edc_pdutils/migrations/0002_auto_20180921_2242.py,sha256=J2gDXyF7AnHZiZUTDp4CsnGl87QGdu4t8vTW34Ww4Bs,548
|
|
@@ -2186,7 +2186,7 @@ edc_pdutils/utils/datetime_to_date.py,sha256=VQd6BVHxB6c0l5LT19j0-R5so3gVtEB_xFC
|
|
|
2186
2186
|
edc_pdutils/utils/decrypt.py,sha256=zZhcnOkpgngoO_YEJZHFllFlLLnt8w2fRsqDFMirI9g,652
|
|
2187
2187
|
edc_pdutils/utils/get_export_folder.py,sha256=l95sw3PGf2Sw_tFWNAkRvcZf5PDwUhqiCHeXBbCnvUU,260
|
|
2188
2188
|
edc_pdutils/utils/identity256.py,sha256=3o5nAx8bKPPfi3zuFVsdYMP2VMygIKUJ7_7L6-i3wPo,717
|
|
2189
|
-
edc_pdutils/utils/missing_subject_identifiers.py,sha256=
|
|
2189
|
+
edc_pdutils/utils/missing_subject_identifiers.py,sha256=fzEa-U76st6EB7c2bf3YqQpIL3FuLvOpn_Ht-DP3hoE,1830
|
|
2190
2190
|
edc_pdutils/utils/model_from_table_name.py,sha256=ahR04BOxoKxOPMob58fSH7gj3CNbrRMK_j8bC1xggUE,167
|
|
2191
2191
|
edc_pdutils/utils/refresh_model_from_dataframe.py,sha256=Ct6sYEt7zOMm0jC23StpzLSbaStbzLP8SX3dTIOryZE,543
|
|
2192
2192
|
edc_pdutils/utils/table_names.py,sha256=T8gXHN5ALXxshRP23nC3unzwIamLQRi7iQezBZvn1eA,1869
|
|
@@ -3406,7 +3406,7 @@ edc_vitals/models/fields/waist_circumference.py,sha256=fZcHFDdEwWLjIVLktKrFCD9UU
|
|
|
3406
3406
|
edc_vitals/models/fields/weight.py,sha256=zo9_9e3Cpu0UqoRbWS-iDkcDo6fK80b1dDQy4x4MyxE,921
|
|
3407
3407
|
edc_vitals/utils.py,sha256=vXid44KUXxeaSyund_y5MNXc5DFJs052_PwUAjszE2k,1384
|
|
3408
3408
|
edc_vitals/validators.py,sha256=vNiElWMs0rRnHRNuVoPLRf0rW_C_0xcfUyep1Y_Si5s,156
|
|
3409
|
-
clinicedc-2.0.
|
|
3410
|
-
clinicedc-2.0.
|
|
3411
|
-
clinicedc-2.0.
|
|
3412
|
-
clinicedc-2.0.
|
|
3409
|
+
clinicedc-2.0.19.dist-info/licenses/LICENSE,sha256=jOtLnuWt7d5Hsx6XXB2QxzrSe2sWWh3NgMfFRetluQM,35147
|
|
3410
|
+
clinicedc-2.0.19.dist-info/WHEEL,sha256=-neZj6nU9KAMg2CnCY6T3w8J53nx1kFGw_9HfoSzM60,79
|
|
3411
|
+
clinicedc-2.0.19.dist-info/METADATA,sha256=MxLUOCH2SVCI3h2msdlezc308-PIFLfGaLjFKjKh3JU,15899
|
|
3412
|
+
clinicedc-2.0.19.dist-info/RECORD,,
|
|
@@ -16,17 +16,9 @@ from pandas import Series
|
|
|
16
16
|
|
|
17
17
|
from edc_lab.models import Panel
|
|
18
18
|
from edc_list_data.model_mixins import ListModelMixin, ListUuidModelMixin
|
|
19
|
-
from edc_model.models import BaseUuidModel
|
|
20
|
-
from edc_sites.model_mixins import SiteModelMixin
|
|
21
19
|
|
|
22
20
|
from .constants import ACTION_ITEM_COLUMNS, SYSTEM_COLUMNS
|
|
23
21
|
|
|
24
|
-
|
|
25
|
-
class MyModel(SiteModelMixin, BaseUuidModel):
|
|
26
|
-
class Meta(BaseUuidModel.Meta):
|
|
27
|
-
pass
|
|
28
|
-
|
|
29
|
-
|
|
30
22
|
__all__ = ["ModelToDataframe", "ModelToDataframeError"]
|
|
31
23
|
|
|
32
24
|
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
1
3
|
from django.apps import apps as django_apps
|
|
2
4
|
from django.db.models import QuerySet
|
|
3
5
|
|
|
@@ -7,7 +9,7 @@ __all__ = ["read_frame_edc"]
|
|
|
7
9
|
|
|
8
10
|
|
|
9
11
|
def read_frame_edc(
|
|
10
|
-
queryset:
|
|
12
|
+
queryset: QuerySet | str,
|
|
11
13
|
drop_sys_columns: bool | None = None,
|
|
12
14
|
drop_action_item_columns: bool | None = None,
|
|
13
15
|
read_frame_verbose: bool | None = None,
|
|
@@ -6,7 +6,7 @@ from django.contrib.sites.models import Site
|
|
|
6
6
|
from django.db import models
|
|
7
7
|
from django_pandas.io import read_frame
|
|
8
8
|
|
|
9
|
-
from edc_model_to_dataframe import read_frame_edc
|
|
9
|
+
from edc_model_to_dataframe.read_frame_edc import read_frame_edc
|
|
10
10
|
from edc_registration.models import RegisteredSubject
|
|
11
11
|
|
|
12
12
|
from ..constants import SYSTEM_COLUMNS
|
|
@@ -10,7 +10,7 @@ from django.core.exceptions import ObjectDoesNotExist
|
|
|
10
10
|
from django.core.management import CommandError, color_style
|
|
11
11
|
from django.core.management.base import BaseCommand
|
|
12
12
|
|
|
13
|
-
from edc_model_to_dataframe import ModelToDataframe
|
|
13
|
+
from edc_model_to_dataframe.model_to_dataframe import ModelToDataframe
|
|
14
14
|
from edc_pdutils.df_exporters import Exporter
|
|
15
15
|
from edc_pdutils.utils import get_model_names
|
|
16
16
|
from edc_sites.site import sites
|
|
@@ -3,7 +3,7 @@ from warnings import warn
|
|
|
3
3
|
import pandas as pd
|
|
4
4
|
from django.apps import apps as django_apps
|
|
5
5
|
|
|
6
|
-
from edc_model_to_dataframe import ModelToDataframe
|
|
6
|
+
from edc_model_to_dataframe.model_to_dataframe import ModelToDataframe
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
def missing_subject_identifiers(
|
|
@@ -42,7 +42,7 @@ def missing_subject_identifiers(
|
|
|
42
42
|
|
|
43
43
|
if len(df_missing.index) > 0 and verbose:
|
|
44
44
|
warn(
|
|
45
|
-
f
|
|
45
|
+
f"There are {len(df_missing['identifier'])} subject identifiers "
|
|
46
46
|
f"missing from {model}."
|
|
47
47
|
)
|
|
48
48
|
return df_missing["identifier"]
|
|
File without changes
|
|
File without changes
|