Running GOEnrichmentStudyNS.run_study with a numpy array as study (geneIDs) gives the following error: ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
This is caused by lines 299-300 in GOEnrichmentStudyNSif not study: return []
I recommend updating if not study: to a statement that is flexible for generic iterators.
Running GOEnrichmentStudyNS.run_study with a numpy array as study (geneIDs) gives the following error:
ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
This is caused by lines 299-300 in GOEnrichmentStudyNS
if not study: return []
I recommend updating
if not study:
to a statement that is flexible for generic iterators.