Skip to content

Commit 26451b2

Browse files
authored
Merge pull request #26 from PathwayMerger/ppi-exporter
Ppi exporter
2 parents bb7b390 + bc8fe4e commit 26451b2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/pathme/export_utils.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,8 @@ def export_ppi_tsv(graph: BELGraph, path: Union[str, TextIO]):
8585
if NAME not in u or NAME not in v:
8686
continue
8787
print(
88-
(u[NAME], edge_data[RELATION], v[NAME]),
89-
sep='tsv',
88+
u[NAME], edge_data[RELATION], v[NAME],
89+
sep='\t',
9090
file=path,
9191
)
9292

@@ -118,7 +118,7 @@ def export_helper(
118118

119119
logger.info(f'A total of {len(paths)} will be exported')
120120

121-
paths = tqdm(paths, desc='Exporting SPIA excel files')
121+
paths = tqdm(paths, desc='Exporting PPI files')
122122

123123
# Call Reactome manager and check that is populated
124124
reactome_manager = ReactomeManager()

0 commit comments

Comments
 (0)