Clinical-Genomics-Lund / bonsai

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

added workaround for $getField #78

Closed mhkc closed 11 months ago

mhkc commented 11 months ago

This PR replaces the use of $getField aggregation pipeline operator with a workaround.

How to setup and perform the tests

  1. Modify the docker-compose file to use mongo v4.4.22
  2. Set up a new instance of bonsai with a fresh database
  3. Goto /groups and /groups/group_id/ views

Expected outcome

These views should be able to render and the API should not crash.

Close #75