.
This commit is contained in:
@@ -314,6 +314,9 @@ class Rapid(models.Model):
|
|||||||
#return self.get_images()
|
#return self.get_images()
|
||||||
|
|
||||||
def get_image_annotations(self):
|
def get_image_annotations(self):
|
||||||
|
annotations = [i.image_annotations for i in self.images.all() if not i.feedback_image]
|
||||||
|
if len(set(annotations).remove("")) < 1:
|
||||||
|
annotations = ""
|
||||||
return json.dumps([i.image_annotations for i in self.images.all() if not i.feedback_image])
|
return json.dumps([i.image_annotations for i in self.images.all() if not i.feedback_image])
|
||||||
|
|
||||||
def get_laterality_string(self):
|
def get_laterality_string(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user