Skip to content

Commit

Permalink
Improve error handling
Browse files Browse the repository at this point in the history
  • Loading branch information
lauraluebbert authored Sep 27, 2024
1 parent 6301576 commit bcd667e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gget/gget_bgee.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,4 +181,4 @@ def bgee(
elif type == "orthologs":
return _bgee_orthologs(gene_id, json=json, verbose=verbose)
else:
raise ValueError(f"Unknown type: {type}")
raise ValueError(f"Argument type should be 'expression' or 'orthologs', not '{type}'")

0 comments on commit bcd667e

Please sign in to comment.