Skip to content

Commit

Permalink
Update expected output
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverfanderson committed Feb 7, 2025
1 parent 0b1f26a commit 8095f34
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 17 deletions.
2 changes: 1 addition & 1 deletion spras/btb.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,5 +161,5 @@ def parse_output(raw_pathway_file, standardized_pathway_file):
if not df.empty:
df = add_rank_column(df)
df = reinsert_direction_col_undirected(df)
df.columns = ['Node1', 'Node2', 'Rank', "Direction"]
df.columns = ['Node1', 'Node2', 'Rank', 'Direction']
df.to_csv(standardized_pathway_file, index=False, sep='\t', header=True)
11 changes: 3 additions & 8 deletions test/parse-outputs/expected/bowtiebuilder-pathway-expected.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
Node1 Node2 Rank Direction
A D 1 U
A B 1 U
C F 1 U
B C 1 U
F G 1 U
G I 1 U
G H 1 U
Node1 Node2 Rank Direction
B A 1 U
D B 1 U
10 changes: 2 additions & 8 deletions test/parse-outputs/input/bowtiebuilder-raw-pathway.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,2 @@
Node1 Node2
A D
A B
C F
B C
F G
G I
G H
B A
D B

0 comments on commit 8095f34

Please sign in to comment.