Skip to content

Commit

Permalink
fix(#684): make list of guideline genotypes set
Browse files Browse the repository at this point in the history
  • Loading branch information
tamslo committed Feb 12, 2024
1 parent 4da0d8f commit ab05776
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/lib/common/models/drug/drug.dart
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ extension DrugExtension on Drug {
? guidelines.first.lookupkey.keys.flatMap(
(gene) => guidelines.first.lookupkey[gene]!.map((variant) =>
GenotypeKey(gene, variant).value
).toList()
).toList().toSet()
).toList()
: [];

Expand Down

0 comments on commit ab05776

Please sign in to comment.