diff --git a/scripts/phenoimager2mc.py b/scripts/phenoimager2mc.py index 4fda645..e6f63f8 100644 --- a/scripts/phenoimager2mc.py +++ b/scripts/phenoimager2mc.py @@ -59,6 +59,7 @@ def getOptions(myopts=None): default="99th", choices=["99th", "max"], help="Provide method to normalize marker intensities per channel. Options = [99th, max]") + standard.add_argument("--version", action="version", version="v0.2.1") # Tool Output output = parser.add_argument_group(title='Required output') @@ -403,6 +404,8 @@ def main(args): :param args.output: file to save the output .tif files per cycle with OME-XML metadata. Will be created if not existent. """ + # version + _version = 'v0.2.1' # Concatenate the tiles into a single stacked image concatenate_tiles(args.indir, args.output) # Normalize the image @@ -464,7 +467,7 @@ def main(args): if __name__ == '__main__': """Tool is called on the command-line""" - + _version = 'v0.2.1' args = getOptions() warnings.filterwarnings("ignore", category=DeprecationWarning)