Skip to content

Commit

Permalink
omics: TSV reader from pandas
Browse files Browse the repository at this point in the history
  • Loading branch information
deeenes committed Jul 24, 2024
1 parent 2d9f2dd commit 90a9285
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion networkcommons/data/omics/_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
import os
import hashlib
import contextlib
import functools as ft
import urllib.parse

import requests
Expand Down Expand Up @@ -147,7 +148,7 @@ def _open(
"""

PANDAS_READERS = {
'tsv': pd.read_csv,
'tsv': ft.partial(pd.read_table, sep = '\t'),
'csv': pd.read_csv,
'txt': pd.read_csv,
'xls': pd.read_excel,
Expand Down

0 comments on commit 90a9285

Please sign in to comment.