start working torwards stack modificaiton

This commit is contained in:
Ross
2023-12-18 09:17:05 +00:00
parent bdeb2210e1
commit ada3a8906f
4 changed files with 63 additions and 20 deletions
-3
View File
@@ -183,7 +183,6 @@ def series_remove_duplicate_images(request, series_id: int):
@router.get("/get_cases_user", auth=django_auth, response=List[CaseSchema])
def get_cases_user(request):
print("HELLO")
return Case.objects.filter(author=request.user)
@@ -250,8 +249,6 @@ def series_split_by_tag(request, series_id: int, dicom_tag:str):
if dicom_tag.startswith("(") and dicom_tag.endswith(")"):
dicom_tag = tuple([hex(int(i.strip(),16)) for i in dicom_tag[1:-1].split(",")])
print("1", dicom_tag)
image_map = defaultdict(list)
# Split teh associated images