The anonymous-phenotype-counts-fast API endpoint requires both positive_marker and negative_marker channels to be submitted, even if one is an empty list. This causes DataAccessor.counts_by_signature() to error if you submit, e.g., one positive_marker and no negative_marker.
We may want to consider editing the API endpoint to make marker submission optional, but for now the quickest solution would just be to ensure that positive_marker and negative_marker are always submitted by DataAccessor.counts_by_signature(), even if one is empty.
The
anonymous-phenotype-counts-fast
API endpoint requires bothpositive_marker
andnegative_marker
channels to be submitted, even if one is an empty list. This causesDataAccessor.counts_by_signature()
to error if you submit, e.g., onepositive_marker
and nonegative_marker
.We may want to consider editing the API endpoint to make marker submission optional, but for now the quickest solution would just be to ensure that
positive_marker
andnegative_marker
are always submitted byDataAccessor.counts_by_signature()
, even if one is empty.