add some new functions to case series
This commit is contained in:
+1
-3
@@ -104,9 +104,7 @@ def uncategorised_dicoms(request):
|
||||
|
||||
return data
|
||||
|
||||
@logger.catch()
|
||||
def import_dicoms_helper(request, case_id: int | None = None):
|
||||
logger.debug(f"IMPORT {case_id}")
|
||||
#dicoms = UncategorisedDicom.objects.filter(user=request.user)
|
||||
if "selection" in request.POST:
|
||||
dicoms = UncategorisedDicom.objects.filter(series_instance_uid__in=request.POST.getlist("selection"))
|
||||
@@ -332,4 +330,4 @@ def series_order_by_tag(request, series_id: int, dicom_tag:str):
|
||||
|
||||
series.order_by_dicom(dicom_tag)
|
||||
|
||||
return [f"{series} ordered by {dicom_tag}"]
|
||||
return [f"{series} ordered by {dicom_tag}"]
|
||||
|
||||
Reference in New Issue
Block a user