Skip to content

Commit

Permalink
prevent searches against live materialization for public dataset
Browse files Browse the repository at this point in the history
  • Loading branch information
schlegelp committed Mar 11, 2024
1 parent 7a67837 commit 553676b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fafbseg/flywire/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 553676b

Please sign in to comment.