Skip to content

Commit

Permalink
use build-in json module explicity, #300
Browse files Browse the repository at this point in the history
  • Loading branch information
Zhuoqing Fang authored and Zhuoqing Fang committed Feb 10, 2025
1 parent 861ca8d commit 624aec3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gseapy/enrichr.py
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ def get_results_with_background(
response = s.post(BGENR_URL, data=payload)
if not response.ok:
self._logger.error("Error fetching enrichment results: %s" % self._gs)
data = response.json()
data = json.loads(response.content)
# Note: missig Overlap column
colnames = [
"Rank",
Expand Down

0 comments on commit 624aec3

Please sign in to comment.