Skip to content

Commit 5d4681e

Browse files
committed
Revert mfinder_utils.py to use is_arabidopsis_gene_valid
Matches the other reverted non-eFP endpoints: call the restored per-species validator directly instead of is_efp_gene_valid().
1 parent 5215f57 commit 5d4681e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

api/utils/mfinder_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def input_validation(input):
4545
if not all(isinstance(j, str) for i in input for j in i):
4646
return "invalid JSON, check if inside arr members are strings!"
4747

48-
if not all(BARUtils.is_efp_gene_valid(j, "efp_arabidopsis") for i in input for j in i):
48+
if not all(BARUtils.is_arabidopsis_gene_valid(j) for i in input for j in i):
4949
return "Invalid gene ID contained!"
5050

5151
# filter self-edges and duplicate edges (mFinder does not accept)

0 commit comments

Comments
 (0)