Instead of getting participant ids from first table, get from all tables. Tested with 1000 Genomes and AMP PD. Before this PR, AMP PD all participants query returned 5407 participants. After this PR, 5478 partcipants are returned.
Also some code clean up. Follow this repo's convention of putting helper methods before they're used.
Instead of getting participant ids from first table, get from all tables. Tested with 1000 Genomes and AMP PD. Before this PR, AMP PD all participants query returned 5407 participants. After this PR, 5478 partcipants are returned.
Also some code clean up. Follow this repo's convention of putting helper methods before they're used.