meta-edc 1.2.3__py3-none-any.whl → 1.2.4__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 meta-edc might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: meta-edc
3
- Version: 1.2.3
3
+ Version: 1.2.4
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
@@ -15,12 +15,12 @@ Classifier: Intended Audience :: Science/Research
15
15
  Classifier: Operating System :: OS Independent
16
16
  Classifier: Programming Language :: Python :: 3.12
17
17
  Classifier: Programming Language :: Python :: 3.13
18
- Requires-Dist: clinicedc>=2.0.32
18
+ Requires-Dist: clinicedc>=2.0.33
19
19
  Requires-Dist: edc-he>=1.2.0
20
20
  Requires-Dist: edc-microscopy>=1.2.0
21
21
  Requires-Dist: edc-mnsi>=1.2.0
22
22
  Requires-Dist: edc-phq9>=1.1.0
23
- Requires-Dist: edc-qol>=1.2.0
23
+ Requires-Dist: edc-qol>=1.2.1
24
24
  Requires-Dist: notebook>=7.4.7
25
25
  Requires-Python: >=3.12, <3.14
26
26
  Description-Content-Type: text/x-rst
@@ -89,8 +89,8 @@ Assuming you are logged into the account ``myaccount``:
89
89
  mkdir ~/edc && \
90
90
  cd ~/edc && \
91
91
  uv venv && \
92
- uv pip install -U meta-edc==1.2.2 && \
93
- wget https://raw.githubusercontent.com/meta-trial/meta-edc/1.2.2/manage.py && \
92
+ uv pip install -U meta-edc==1.2.3 && \
93
+ wget https://raw.githubusercontent.com/meta-trial/meta-edc/1.2.3/manage.py && \
94
94
  uv pip freeze | grep meta-edc
95
95
 
96
96
  Copy your ``.env`` file to ``~/.etc``.
@@ -140,7 +140,7 @@ From the above example:
140
140
 
141
141
  cd ~/edc && \
142
142
  uv venv --clear && \
143
- uv pip install -U meta-edc==1.2.2 && \
143
+ uv pip install -U meta-edc==1.2.3 && \
144
144
  wget -O manage.py https://raw.githubusercontent.com/meta-trial/meta-edc/1.1.10/manage.py && \
145
145
  uv pip freeze | grep meta-edc && \
146
146
  python manage.py check
@@ -551,12 +551,14 @@ meta_reports/migrations/0057_auto_20250422_2224.py,sha256=pGj-5Cr__ScaNtb8ROzm_4
551
551
  meta_reports/migrations/0058_auto_20250422_2232.py,sha256=SZ2RS5jUVhgnirgU2XAU-EIDtsbUWD1GDl5jg_hMTrc,9743
552
552
  meta_reports/migrations/0059_alter_endpoints_created_and_more.py,sha256=pLpV2JkdlclK9J7zwMrEvHsORk7zKBIWoo8RkvaraPs,5633
553
553
  meta_reports/migrations/0060_auto_20250926_0242.py,sha256=gdaOXPmSHFj7W8u94dAi45oL6w_c8f0d0GH-RoOmRNQ,192265
554
+ meta_reports/migrations/0061_auto_20251004_0043.py,sha256=8q29xI4sujObBX2Y0772n9Hs2IbEcuvzjelR4qXh03c,672
555
+ meta_reports/migrations/0062_auto_20251004_0106.py,sha256=1pvCwV0QPea2k2bp4YN3BpSdHMVwb8YuXh4dwi-EOcA,683
554
556
  meta_reports/migrations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
555
557
  meta_reports/models/__init__.py,sha256=uWbQPzDXUxdfuau5aaUDkqMynJeMOKgS5e-8xjuD53A,798
556
558
  meta_reports/models/dbviews/README,sha256=GdeboB7Xqb-Qo_rE1ondcxP8Ps93MIjLzCePQCePig0,686
557
559
  meta_reports/models/dbviews/__init__.py,sha256=VXO77yB6T1OivjSusNVSoga0kOHArNfiHyL_jqgXvmE,874
558
560
  meta_reports/models/dbviews/glucose_summary/__init__.py,sha256=nlexRHQIIRs1wtTV2JNGY8ajiRIw4l8qqCOX5r366MU,146
559
- meta_reports/models/dbviews/glucose_summary/unmanaged_model.py,sha256=IKAmjWZ3FPbw7L9cf6JMnBIT0GsD2uXMUr_IXDKBygg,1417
561
+ meta_reports/models/dbviews/glucose_summary/unmanaged_model.py,sha256=aNY_zaJ99TVDGKlUVQAbg3l-F8sK-ZCfABQV-trLvAY,1501
560
562
  meta_reports/models/dbviews/glucose_summary/view_definition.py,sha256=mFv0Y6OQM6gwKRyNuTsJApeW6ehZmLNgtkaDVIIyuiQ,1735
561
563
  meta_reports/models/dbviews/imp_substitutions/__init__.py,sha256=_4j_SsN416y1O3f-agHkNwD3uiWLQ2JyRphREnCkhOQ,78
562
564
  meta_reports/models/dbviews/imp_substitutions/unmanaged_model.py,sha256=WtTJ2aV_63vLzD0LlEbBjRcryfhRsvVmJgVu90UFzp8,1239
@@ -1144,7 +1146,7 @@ meta_visit_schedule/visit_schedules/phase_three/schedule.py,sha256=LU1HRaV6o1UeK
1144
1146
  meta_visit_schedule/visit_schedules/phase_three/schedule_dm_referral.py,sha256=q12p5wXc2D7lSiJVBnoSQw8Q3vL6uDx1t3PuDJO-Z-U,1735
1145
1147
  meta_visit_schedule/visit_schedules/phase_three/schedule_pregnancy.py,sha256=bEpbpCX3vfZmnsqudr0z8PU5kiaX4ws1sO5Im98Mo28,1106
1146
1148
  meta_visit_schedule/visit_schedules/phase_three/visit_schedule.py,sha256=ak4qazeKlpIlvpqrK9hDDO0fwWuWyvb4Ec-JU31IJxc,654
1147
- meta_edc-1.2.3.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
1148
- meta_edc-1.2.3.dist-info/WHEEL,sha256=-neZj6nU9KAMg2CnCY6T3w8J53nx1kFGw_9HfoSzM60,79
1149
- meta_edc-1.2.3.dist-info/METADATA,sha256=IPjba51apleA6LFHlMmvN6LHNSZnoDiyQwSNp0O46SY,5163
1150
- meta_edc-1.2.3.dist-info/RECORD,,
1149
+ meta_edc-1.2.4.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
1150
+ meta_edc-1.2.4.dist-info/WHEEL,sha256=-neZj6nU9KAMg2CnCY6T3w8J53nx1kFGw_9HfoSzM60,79
1151
+ meta_edc-1.2.4.dist-info/METADATA,sha256=G9hfv_57ZXH7YfDaRQfg-tQpt89kWeuAa8XXlKlHdXQ,5163
1152
+ meta_edc-1.2.4.dist-info/RECORD,,
@@ -0,0 +1,21 @@
1
+ # Generated by Django 5.2.7 on 2025-10-03 21:43
2
+
3
+ from django.db import migrations
4
+
5
+
6
+ def fix_report_models(apps, schema_editor):
7
+ note_cls = apps.get_model("edc_qareports", "Note")
8
+ note_cls.objects.filter(report_model="onstudy_missing_values_view").update(
9
+ report_model="meta_reports.onstudy_missing_values_view"
10
+ )
11
+ note_cls.objects.filter(report_model="onstudy_missing_lab_values_view").update(
12
+ report_model="meta_reports.onstudy_missing_lab_values_view"
13
+ )
14
+
15
+
16
+ class Migration(migrations.Migration):
17
+ dependencies = [
18
+ ("meta_reports", "0060_auto_20250926_0242"),
19
+ ]
20
+
21
+ operations = [migrations.RunPython(fix_report_models)]
@@ -0,0 +1,21 @@
1
+ # Generated by Django 5.2.7 on 2025-10-03 22:06
2
+
3
+ from django.db import migrations
4
+
5
+
6
+ def fix_report_models(apps, schema_editor):
7
+ note_cls = apps.get_model("edc_qareports", "Note")
8
+ note_cls.objects.filter(report_model="meta_reports.onstudy_missing_values_view").update(
9
+ report_model="meta_reports.onstudymissingvalues"
10
+ )
11
+ note_cls.objects.filter(
12
+ report_model="meta_reports.onstudy_missing_lab_values_view"
13
+ ).update(report_model="meta_reports.onstudymissinglabvalues")
14
+
15
+
16
+ class Migration(migrations.Migration):
17
+ dependencies = [
18
+ ("meta_reports", "0061_auto_20251004_0043"),
19
+ ]
20
+
21
+ operations = [migrations.RunPython(fix_report_models)]
@@ -1,5 +1,6 @@
1
1
  from django.db import models
2
2
  from django_db_views.db_view import DBView
3
+ from edc_constants.constants import NULL_STRING
3
4
  from edc_qareports.model_mixins import QaReportModelMixin, qa_reports_permissions
4
5
 
5
6
  from .view_definition import get_view_definition
@@ -8,17 +9,17 @@ from .view_definition import get_view_definition
8
9
  class GlucoseSummary(QaReportModelMixin, DBView):
9
10
  fbg_value = models.DecimalField(max_digits=8, decimal_places=2, null=True)
10
11
 
11
- fbg_units = models.CharField(max_length=15, default="")
12
+ fbg_units = models.CharField(max_length=15, default=NULL_STRING)
12
13
 
13
14
  fbg_datetime = models.DateTimeField(null=True)
14
15
 
15
16
  ogtt_value = models.DecimalField(max_digits=8, decimal_places=2, null=True)
16
17
 
17
- ogtt_units = models.CharField(max_length=15, default="")
18
+ ogtt_units = models.CharField(max_length=15, default=NULL_STRING)
18
19
 
19
20
  ogtt_datetime = models.DateTimeField(null=True)
20
21
 
21
- fasted = models.CharField(max_length=15, default="")
22
+ fasted = models.CharField(max_length=15, default=NULL_STRING)
22
23
 
23
24
  fasting_duration_delta = models.DurationField(
24
25
  verbose_name="Fasting duration (hrs)", null=True
@@ -34,7 +35,7 @@ class GlucoseSummary(QaReportModelMixin, DBView):
34
35
 
35
36
  offstudy_datetime = models.DateTimeField(null=True)
36
37
 
37
- source = models.CharField(max_length=35, default="")
38
+ source = models.CharField(max_length=35, default=NULL_STRING)
38
39
 
39
40
  view_definition = get_view_definition()
40
41