qbicsoftware / postman-cli

A client software for dataset request and download from openBIS
MIT License
2 stars 1 forks source link

Fix duplicate DS download #88

Closed jenniferboedker closed 2 years ago

jenniferboedker commented 2 years ago

Each dataset is downloaded 3 times because the DS search looks into every sample level we have (Biological Entities, Biological Samples and Preparation Samples). This would be no problem, if the elements that are joined after the search were checked for duplicates. Therefore, the fix for this bug is to remove duplicates from the joined lists. These lists contain the found DS for samples. Afterall, there should be no case were duplicated entries would be required. (If I am wrong here, please let me know!)