Clinical-Genomics / housekeeper

File data orchestrator
MIT License
2 stars 0 forks source link

Get file returns only one file when a bundle is provided #90

Closed ivadym closed 1 year ago

ivadym commented 1 year ago

Description

housekeeper get file -t <tag> <bundle> returns only the first file it finds

Suggested solution

Fix the query in the housekeeper.store.api.find.files() method

This can be closed when

A list of files associated to the provided tag and bundle is returned

To reproduce (stage)

housekeeper get bundle uniquewolf -v

Screenshot 2023-02-20 at 09 19 33

housekeeper get file -t vcf-snv-clinical uniquewolf (the filtered .coding.vcf.gz is not returned as one would expect)

Screenshot 2023-02-20 at 09 21 22

However, the .coding.vcf.gz file has been added manually with housekeeper add file -t <tags> -b <bundle>. For the rest of the tags it seems that the command works as expected:

Screenshot 2023-03-29 at 09 30 22
ivadym commented 1 year ago

It doesn't seem to be a problem anymore, closing:

Screenshot 2023-03-29 at 09 59 19