# HG changeset patch # User thomaswollmann # Date 1546854988 18000 # Node ID 69218d7300e5443f397b68658204c22fadd5605f # Parent 245a1cde4cd518e2bcbf0a73f074a760766cd0e5 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit 787ebcc8daa1834214bc92c201c921c704ef2d1f diff -r 245a1cde4cd5 -r 69218d7300e5 detection_viz.py --- a/detection_viz.py Wed Dec 12 04:50:23 2018 -0500 +++ b/detection_viz.py Mon Jan 07 04:56:28 2019 -0500 @@ -32,8 +32,7 @@ if fp is not None: plot_circles(fp, ax, 'darkorange', stroke_size, circle_radius) - fig.canvas.print_png("tmp.png", dpi=1800) - os.rename("tmp.png", output_file) + fig.canvas.print_png(output_file, dpi=1800) if __name__ == "__main__": parser = argparse.ArgumentParser() diff -r 245a1cde4cd5 -r 69218d7300e5 detection_viz.xml --- a/detection_viz.xml Wed Dec 12 04:50:23 2018 -0500 +++ b/detection_viz.xml Mon Jan 07 04:56:28 2019 -0500 @@ -6,7 +6,9 @@ diff -r 245a1cde4cd5 -r 69218d7300e5 test-data/out.tif Binary file test-data/out.tif has changed