Skip to content

Commit 56c7125

Browse files
committed
Fix logic
1 parent c6816af commit 56c7125

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

v03_pipeline/lib/paths.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ def valid_reference_dataset_collection_path(
241241
) -> str | None:
242242
if (
243243
not Env.ACCESS_PRIVATE_REFERENCE_DATASETS
244-
or reference_dataset_collection.access_control == AccessControl.PUBLIC
244+
and reference_dataset_collection.access_control == AccessControl.PRIVATE
245245
):
246246
return None
247247
return os.path.join(

0 commit comments

Comments
 (0)