Dataset Queried Twice

Tags

Description

In the function

base.trait.create_trait

the dataset is queried twice:

Maybe, pass the dataset created in lines 30 to 33 to GeneralTrait to avoid re-querying the data.

Note 26/10/22

Pr that fixes the issue:

https://github.com/genenetwork/genenetwork2/pull/740