farhat-lab / gentb-site

The genTB project, the Django site, variant calling and prediciton pipeline, and mapping pipeline with hooks to two ravens
https://gentb.hms.harvard.edu
Other
8 stars 11 forks source link

(maint): small fixes #259

Closed vladdoster closed 3 years ago

vladdoster commented 3 years ago

To check if a variable is equal to one of many values, combine the values into a tuple and check if the variable is contained in it instead of checking for equality against each of the values. This is faster, less verbose, and more readable.

Signed-off-by: Vladislav Doster mvdoster@gmail.com

doctormo commented 3 years ago

These look like good changes to me.

vladdoster commented 3 years ago

@doctormo I don't have merge permissions.