Hannes Kuchelmeister
commited on
Commit
•
cb37243
1
Parent(s):
072e991
fix joining on wrong id
Browse files
annotation-preprocessing/0_fetch_from_database.py
CHANGED
@@ -42,7 +42,7 @@ def fetch_focus_stacks_from_database(db):
|
|
42 |
Image.add_date
|
43 |
FROM FocusStack
|
44 |
JOIN Scan on Scan.id = FocusStack.scan_id
|
45 |
-
JOIN Slide on Slide.id = Scan.
|
46 |
JOIN Study on Study .id = Slide.study_id
|
47 |
JOIN Image on Image.focus_stack_id = FocusStack.id
|
48 |
WHERE
|
|
|
42 |
Image.add_date
|
43 |
FROM FocusStack
|
44 |
JOIN Scan on Scan.id = FocusStack.scan_id
|
45 |
+
JOIN Slide on Slide.id = Scan.slide_id
|
46 |
JOIN Study on Study .id = Slide.study_id
|
47 |
JOIN Image on Image.focus_stack_id = FocusStack.id
|
48 |
WHERE
|