From 553676b7e0350395799737d9f3fdceae64c11de1 Mon Sep 17 00:00:00 2001 From: Philipp Schlegel Date: Mon, 11 Mar 2024 11:02:12 +0000 Subject: [PATCH] prevent searches against live materialization for public dataset --- fafbseg/flywire/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fafbseg/flywire/utils.py b/fafbseg/flywire/utils.py index 6f60483..415faa0 100644 --- a/fafbseg/flywire/utils.py +++ b/fafbseg/flywire/utils.py @@ -677,7 +677,7 @@ def find_mat_version(ids, # by with the live materialization is_latest = client.chunkedgraph.is_latest_roots(ids, timestamp=None) latest_valid[(latest_valid == 0) & is_latest] = -1 # track "live" as -1 - if all(is_latest): + if all(is_latest) and dataset != 'public': # public does not have live if verbose and not SILENCE_FIND_MAT_VERSION: print('Using live materialization') return 'live'