From e164de1afa801bdc08838ebb045c0a859668c459 Mon Sep 17 00:00:00 2001 From: alexsweeten Date: Tue, 17 Sep 2024 11:48:24 -0400 Subject: [PATCH] blakc linting --- src/moddotplot/moddotplot.py | 17 +++++++++++++---- src/moddotplot/static_plots.py | 4 +++- 2 files changed, 16 insertions(+), 5 deletions(-) diff --git a/src/moddotplot/moddotplot.py b/src/moddotplot/moddotplot.py index f37c447..368573f 100644 --- a/src/moddotplot/moddotplot.py +++ b/src/moddotplot/moddotplot.py @@ -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: @@ -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() diff --git a/src/moddotplot/static_plots.py b/src/moddotplot/static_plots.py index ed1879d..3724c3a 100644 --- a/src/moddotplot/static_plots.py +++ b/src/moddotplot/static_plots.py @@ -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,