Skip to content

Commit

Permalink
fix(junction-annotation): capitalize file in result outfile
Browse files Browse the repository at this point in the history
  • Loading branch information
a-frantz committed Feb 5, 2021
1 parent b7228ea commit fa01f8b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ngsderive/commands/junction_annotation.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def annotate_junctions(
ngsfile = NGSFile(ngsfilepath)
except FileNotFoundError:
result = {
"file": ngsfilepath,
"File": ngsfilepath,
"total_junctions": "N/A",
"total_splice_events": "N/A",
"known_junctions": "N/A",
Expand Down Expand Up @@ -232,7 +232,7 @@ def annotate_junctions(
junction_file.close()

result = {
"file": ngsfilepath,
"File": ngsfilepath,
"total_junctions": num_known + num_novel + num_partial,
"total_splice_events": num_known_spliced_reads
+ num_novel_spliced_reads
Expand Down Expand Up @@ -276,7 +276,7 @@ def main(
logger.debug("Done")

fieldnames = [
"file",
"File",
"total_junctions",
"total_splice_events",
"known_junctions",
Expand Down

0 comments on commit fa01f8b

Please sign in to comment.