Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Generated by Django 4.2.25 on 2025-10-23 16:08

from django.db import migrations


class Migration(migrations.Migration):

dependencies = [
("algorithms", "0090_algorithmimage_api_method_and_more"),
]

operations = [
migrations.RemoveField(
model_name="algorithmimage",
name="storage_cost_per_year_usd_millicents",
),
]
Comment thread
koopmant marked this conversation as resolved.

This file was deleted.

Comment thread
koopmant marked this conversation as resolved.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
# Generated by Django 5.2.11 on 2026-02-11 13:02

from django.db import migrations


class Migration(migrations.Migration):

dependencies = [
(
"cases",
"0027_alter_image_patient_age_alter_image_patient_id_and_more",
),
]

operations = [
migrations.RemoveField(
model_name="image",
name="patient_age",
),
migrations.RemoveField(
model_name="image",
name="patient_birth_date",
),
migrations.RemoveField(
model_name="image",
name="patient_id",
),
migrations.RemoveField(
model_name="image",
name="patient_name",
),
migrations.RemoveField(
model_name="image",
name="patient_sex",
),
migrations.RemoveField(
model_name="image",
name="series_description",
),
migrations.RemoveField(
model_name="image",
name="series_instance_uid",
),
migrations.RemoveField(
model_name="image",
name="study_date",
),
migrations.RemoveField(
model_name="image",
name="study_description",
),
migrations.RemoveField(
model_name="image",
name="study_instance_uid",
),
]
32 changes: 0 additions & 32 deletions app/grandchallenge/cases/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
from django.utils._os import safe_join
from django.utils.text import get_valid_filename
from django.utils.translation import gettext_lazy as _
from django_deprecate_fields import deprecate_field
from grand_challenge_dicom_de_identifier.deidentifier import DicomDeidentifier
from guardian.shortcuts import assign_perm, get_groups_with_perms, remove_perm
from panimg_models import MAXIMUM_SEGMENTS_LENGTH, ColorSpace, ImageType
Expand Down Expand Up @@ -516,37 +515,6 @@ class Image(UUIDModel):
color_space = models.CharField(
max_length=5, blank=True, choices=COLOR_SPACES
)
# Deprecated fields, see https://github.com/DIAGNijmegen/rse-roadmap/issues/446
Comment thread
koopmant marked this conversation as resolved.
patient_id = deprecate_field(
models.CharField(max_length=64, default="", blank=True)
)
patient_name = deprecate_field(
models.CharField(max_length=324, default="", blank=True)
)
patient_birth_date = deprecate_field(
models.DateField(null=True, blank=True)
)
patient_age = deprecate_field(
models.CharField(max_length=4, default="", blank=True)
)
patient_sex = deprecate_field(
models.CharField(
max_length=1, blank=True, choices=PATIENT_SEX_CHOICES, default=""
)
)
study_date = deprecate_field(models.DateField(null=True, blank=True))
study_instance_uid = deprecate_field(
models.CharField(max_length=64, default="", blank=True)
)
series_instance_uid = deprecate_field(
models.CharField(max_length=64, default="", blank=True)
)
study_description = deprecate_field(
models.CharField(max_length=64, default="", blank=True)
)
series_description = deprecate_field(
models.CharField(max_length=64, default="", blank=True)
)
segments = models.JSONField(
null=True,
blank=True,
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
# Generated by Django 4.2.25 on 2025-10-23 16:08

from django.db import migrations


class Migration(migrations.Migration):

dependencies = [
(
"challenges",
"0064_alter_challengerequest_algorithm_maximum_settable_memory_gb_and_more",
),
]

operations = [
migrations.RemoveField(
model_name="challenge",
name="accumulated_compute_cost_in_cents",
),
migrations.RemoveField(
model_name="challenge",
name="accumulated_docker_storage_cost_in_cents",
),
migrations.RemoveField(
model_name="challenge",
name="educational",
),
migrations.RemoveField(
model_name="challengerequest",
name="algorithm_maximum_settable_memory_gb",
),
migrations.RemoveField(
model_name="challengerequest",
name="algorithm_selectable_gpu_type_choices",
),
migrations.RemoveField(
model_name="challengerequest",
name="average_number_of_containers_per_team",
),
migrations.RemoveField(
model_name="challengerequest",
name="average_size_of_test_image_in_mb",
),
migrations.RemoveField(
model_name="challengerequest",
name="expected_number_of_teams",
),
migrations.RemoveField(
model_name="challengerequest",
name="inference_time_limit_in_minutes",
),
migrations.RemoveField(
model_name="challengerequest",
name="number_of_tasks",
),
migrations.RemoveField(
model_name="challengerequest",
name="phase_1_number_of_submissions_per_team",
),
migrations.RemoveField(
model_name="challengerequest",
name="phase_1_number_of_test_images",
),
migrations.RemoveField(
model_name="challengerequest",
name="phase_2_number_of_submissions_per_team",
),
migrations.RemoveField(
model_name="challengerequest",
name="phase_2_number_of_test_images",
),
]
Loading