VEuPathDB / lib-eda-subsetting

Provides Java interface to query and provide EDA data and metadata from a database
Apache License 2.0
0 stars 0 forks source link

Fix multi-value var bugs and ancestor expander bugs #12

Closed dmgaldi closed 2 years ago

dmgaldi commented 2 years ago

Overview

Found a couple of bugs in the regression testing of MAL-ED and PROMO studies.

  1. AncestorExpander was returning descendants of the last entity of the stream when it was intended to be excluded if the 2nd to last item was included
  2. StreamIntersectMerger when passed a single stream of IDs with duplicates was incorrectly including the duplicates. This was causing a bug when filtering on a single stream of multi-value variables.

Testing

Added a couple of missing test cases.