Skip to content

Commit

Permalink
check if exists in both directions
Browse files Browse the repository at this point in the history
  • Loading branch information
alpae committed Oct 10, 2024
1 parent d8ba0b4 commit e8ce50d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/run-testdataset.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,7 @@ jobs:
run: |
ls test-results
gunzip -c test-results/12_linearized_synteny_graph_edges.tsv.gz | head -n 10
gunzip -c test-results/12_linearized_synteny_graph_edges.tsv.gz | awk '/HOG_HOG:0000217_13\tHOG_HOG:0000282_13/{c = $2 > 0} END {exit !c}'
- name: check a specific relation exists
run: |
gunzip -c test-results/12_linearized_synteny_graph_edges.tsv.gz | awk '/(HOG_HOG:0000285_13\tHOG_HOG:0000284_13)|(HOG_HOG:0000284_13\tHOG_HOG:0000285_13)/{count++; print $0} END {exit (count == 1 ? 0 : 1)}'

0 comments on commit e8ce50d

Please sign in to comment.