Skip to content

Commit

Permalink
stats test
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelauliano committed Nov 7, 2023
1 parent 215e404 commit a0f131d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/github-actions-build-base.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: Build and Publish MitoHiFi base

on: workflow_dispatch
# push:
# branches:
# - 'master'
on: #workflow_dispatch
push:
branches:
- 'stats'


env:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/github-actions-build-code.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: Build and Publish MitoHiFi code

on: workflow_dispatch
# push:
# branches:
# - 'master'
push:
branches:
- 'stats'



Expand Down
6 changes: 3 additions & 3 deletions src/mitohifi.py
Original file line number Diff line number Diff line change
Expand Up @@ -434,10 +434,10 @@ def main():
contigs_stats_files = []
for curr_file in os.listdir('.'):
if curr_file.endswith('.individual.stats'):
# skips addition of representative contig, which is the
# skips addition of representative contig, which is the oi
# same as the final_mitogenome
if curr_file.split('.individual.stats')[0] != repr_contig_id:
contigs_stats_files.append(curr_file)
#if curr_file.split('.individual.stats')[0] != repr_contig_id:
# contigs_stats_files.append(curr_file)

with open("contigs_stats.tsv", "a") as outfile:
for contig_stats in contigs_stats_files:
Expand Down

0 comments on commit a0f131d

Please sign in to comment.