Skip to content

Commit

Permalink
fixing missing roots
Browse files Browse the repository at this point in the history
  • Loading branch information
fcollman committed Sep 8, 2023
1 parent 555f6f4 commit 395d17e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion materializationengine/blueprints/materialize/schemas.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@ class VirtualVersionSchema(Schema):
tables_to_include = fields.List(fields.Str(), example=None)
virtual_version_name = fields.Str()


class BadRootsSchema(Schema):
bad_roots = fields.List(fields.Int(), example=None)
bad_roots = fields.List(fields.Int(), example=None)
1 change: 1 addition & 0 deletions materializationengine/workflows/ingest_new_annotations.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,7 @@ def find_missing_root_ids_workflow(mat_metadata: dict):
missing_root_id_chunks = get_ids_with_missing_roots(mat_metadata)
seg_table = mat_metadata.get("segmentation_table_name")
if missing_root_id_chunks:
missing_root_id_chunks = [c for c in missing_root_id_chunks]
process_chunks_workflow = chain(
lookup_missing_root_ids_workflow(mat_metadata, missing_root_id_chunks)
).apply_async()
Expand Down

0 comments on commit 395d17e

Please sign in to comment.