Git Product home page Git Product logo

Comments (4)

AviMaayan avatar AviMaayan commented on August 16, 2024 2

It should be fixed. Thank you for letting us know.

from enrichr_issues.

madhavmantri avatar madhavmantri commented on August 16, 2024

I am also getting the following error when calling enrichr from gseapy:

File ~/.local/lib/python3.9/site-packages/gseapy/__init__.py:554, in enrichr(gene_list, gene_sets, organism, outdir, background, cutoff, format, figsize, top_term, no_plot, verbose)
    552 # set organism
    553 enr.set_organism()
--> 554 enr.run()
    556 return enr

File ~/.local/lib/python3.9/site-packages/gseapy/enrichr.py:570, in Enrichr.run(self)
    567 genes_list = self.parse_genelists()
    569 # self._logger.info("Connecting to Enrichr Server to get latest library names")
--> 570 gss = self.parse_genesets()
    571 if len(gss) < 1:
    572     self._logger.error(
    573         "None of your input gene set matched ! %s" % self.gene_sets
    574     )

File ~/.local/lib/python3.9/site-packages/gseapy/enrichr.py:141, in Enrichr.parse_genesets(self, gene_sets)
    139 # if all local gmts (local mode), skip connect to enrichr server
    140 if not all([isinstance(g, dict) for g in gss]):
--> 141     enrichr_library = self.get_libraries()
    143 # check enrichr libraries are valid
    144 for n, g in zip(self._gs_name, gss):

File ~/.local/lib/python3.9/site-packages/gseapy/enrichr.py:368, in Enrichr.get_libraries(self)
    366 response = s.get(lib_url, verify=True)
    367 if not response.ok:
--> 368     raise Exception("Error getting the Enrichr libraries")
    369 libs_json = json.loads(response.text)
    370 libs = [lib["libraryName"] for lib in libs_json["statistics"]]

Exception: Error getting the Enrichr libraries

from enrichr_issues.

karenlawwc avatar karenlawwc commented on August 16, 2024

Thanks for the quick fix!

from enrichr_issues.

madhavmantri avatar madhavmantri commented on August 16, 2024

Thank you!

from enrichr_issues.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.