| 1297 | |
| 1298 | |
| 1299 | def build_annotation_hash_list(annotation_list): |
| 1300 | hash_list = [] |
| 1301 | for annotation in annotation_list: |
| 1302 | |
| 1303 | # TODO can we not just limit sql query by this? |
| 1304 | # Would avoid having to cycle through it here...!! |
| 1305 | # But we would also have to query and only return the instance hash then |
| 1306 | |
| 1307 | if annotation.soft_delete != True: # for working dir only |
| 1308 | hash_list.append(annotation.hash) |
| 1309 | |
| 1310 | return hash_list |
| 1311 | |
| 1312 | |
| 1313 | def build_annotation_hash_list_to_object(annotation_list): |