You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
iflen(gss) <1:
sys.stderr.write("Not validated Enrichr library name provided\n")
sys.stdout.write("Hint: use get_library_name() to view full list of supported names")
sys.exit(1)
I propose to change it with
iflen(gss) <1:
sys.stderr.write("Not validated Enrichr library name provided\n")
sys.stdout.write("Hint: use get_library_name() to view full list of supported names")
raiseLookupError
I know you could catch sys.exit() but it would be more pythonic to raise an Exception.
The text was updated successfully, but these errors were encountered:
Setup
I am analyzing some yeast data and I noticed a inconsistency between the libraries retrieved by get_library name() and the enrichr API.
Expected behaviour
Raise an Exception not sys.exit(1)
Actual behaviour
Not validated Enrichr library name provided
Hint: use get_library_name() to view full list of supported names(base)
sis.exit(1)
Steps to reproduce
not working all the .AutoRIF. plus others.
I noticed that in line 340 of https://github.com/zqfang/GSEApy/blob/master/gseapy/enrichr.py
I propose to change it with
I know you could catch sys.exit() but it would be more pythonic to raise an Exception.
The text was updated successfully, but these errors were encountered: