# HG changeset patch # User rv43 # Date 1678722552 0 # Node ID 6be076b081c45f96fa48a865a1c6dcfc63e47f00 # Parent 576071826197bd9c60df616c2d9da90cdb255c5d planemo upload for repository https://github.com/rolfverberg/galaxytools commit b5d7c209a0ba024789ccfb89ec874e8b9c280149-dirty diff -r 576071826197 -r 6be076b081c4 image.jpg Binary file image.jpg has changed diff -r 576071826197 -r 6be076b081c4 plot_smb_tiff.py --- a/plot_smb_tiff.py Mon Mar 13 15:34:21 2023 +0000 +++ b/plot_smb_tiff.py Mon Mar 13 15:49:12 2023 +0000 @@ -13,6 +13,8 @@ # Parse command line arguments parser = argparse.ArgumentParser( description='Plot an image for the SMB schema') + parser.add_argument('-o', '--output_file', + help='''Output file name.''') parser.add_argument('--cycle', required=True, help='''Run cycle.''') @@ -124,7 +126,7 @@ title = 'image_files[0]' plt.figure(title) plt.imshow(data) - plt.savefig('image.jpg') + plt.savefig(args.output_file) plt.close(fig=title) if __name__ == "__main__": diff -r 576071826197 -r 6be076b081c4 plot_smb_tiff.xml --- a/plot_smb_tiff.xml Mon Mar 13 15:34:21 2023 +0000 +++ b/plot_smb_tiff.xml Mon Mar 13 15:49:12 2023 +0000 @@ -1,10 +1,11 @@ - + Plot an image for the SMB file schema matplotlib - +