Hi Terra team,
Clicking the `DOWNLOAD TABLE TSV` button in Terra yields two different results depending on if entities are checked or not.
The first, seemingly correct, scenario is clicking the download button with no entities selected. This downloads a zip file containing two files:
- `(sample, participant, or pair)_set_entity.tsv`, which has the entity name and
- `(sample, participant, or pair)_set_membership.tsv`, which a column with the set name and another column with members for _all_ sets of that entity type.
The second, seemingly incorrect, scenario is checking at least one entity from a set page in the data model and then clicking `DOWNLOAD TABLE TSV`. This results in just a single file called `(sample, participant, or pair)_set.tsv` and contains the name(s) of selected sets in one column and the number of members in the other.
This was definitely working as expected at least a couple weeks ago and this behavior has been confirmed by a few people.