Clinical-Genomics-Lund / bonsai

Visualize and analyze resistance and outbreak of bacterial pathogen
https://bonsai-wgs.readthedocs.io/en/latest/
GNU General Public License v3.0
4 stars 1 forks source link

Unset default limit of 20 samples when gathering metadata for grapetree data #69

Closed alkc closed 1 year ago

alkc commented 1 year ago

Closes #39

This tiny fix ensures that metadata is returned for all queried samples when gathering metadata clustering, instead of just the 20 first samples.

How to setup and perform the tests

  1. Setup bonsai instance and add N > 20 samples to the database
  2. Login, add N > 20 samples to the basket
  3. Open basket and select Cluster
  4. In the grapetree view, right click the tree and select show metadata table
  5. Confirm that metadata is displayed for all samples and not just the 20 first

Expected outcome

The table should be populated with metadata for all samples, not just the first 20 samples.