Skip to content

Commit

Permalink
blakc linting
Browse files Browse the repository at this point in the history
  • Loading branch information
alexsweeten committed Sep 17, 2024
1 parent f0180f1 commit e164de1
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 5 deletions.
17 changes: 13 additions & 4 deletions src/moddotplot/moddotplot.py
Original file line number Diff line number Diff line change
Expand Up @@ -1006,11 +1006,19 @@ def main():
if not args.no_bed:
# Log saving bed file
if not args.output_dir:
bedfile_output = smaller_seq_name + "_" + larger_seq_name + "_COMPARE.bed"
bedfile_output = (
smaller_seq_name
+ "_"
+ larger_seq_name
+ "_COMPARE.bed"
)
else:
bedfile_output = os.path.join(
args.output_dir,
smaller_seq_name + "_" + larger_seq_name + "_COMPARE.bed",
smaller_seq_name
+ "_"
+ larger_seq_name
+ "_COMPARE.bed",
)
with open(bedfile_output, "w") as bedfile:
for row in bed:
Expand All @@ -1037,8 +1045,9 @@ def main():
axes_labels=args.axes_ticks,
)

'''if args.grid:
print(grid_vals)'''
"""if args.grid:
print(grid_vals)"""


if __name__ == "__main__":
main()
4 changes: 3 additions & 1 deletion src/moddotplot/static_plots.py
Original file line number Diff line number Diff line change
Expand Up @@ -587,7 +587,9 @@ def create_plots(
verbose=False,
)
if no_hist:
print(f"{plot_filename}_COMPARE.pdf and {plot_filename}_COMPARE.png saved sucessfully. \n")
print(
f"{plot_filename}_COMPARE.pdf and {plot_filename}_COMPARE.png saved sucessfully. \n"
)
else:
ggsave(
histy,
Expand Down

0 comments on commit e164de1

Please sign in to comment.