Closed dyf closed 3 months ago
Describe the bug I found two records that represent the same prefix.
To Reproduce Steps to reproduce the behavior:
filter = {"name": { "$regex": "^single-plane.*" }, "subject.subject_id": "631479" } records = list( doc_db_client.collection.find(filter=filter)#, projection=projection) ) for r in records: print(r["_id"], r["name"], r["location"])
prints
5a5c2cff-272c-44da-b75a-e7f5b668f01e single-plane-ophys_631479_2023-03-21_12-00-00 s3://aind-ophys-data/single-plane-ophys_631479_2023-03-21_12-00-00 aab2b12d-5b9f-40da-ac53-9d455d6fe1fc single-plane-ophys_631479_2023-03-23_12-00-00 s3://aind-ophys-data/single-plane-ophys_631479_2023-03-23_12-00-00
oops
Describe the bug I found two records that represent the same prefix.
To Reproduce Steps to reproduce the behavior:
prints