Skip to content
Snippets Groups Projects
Commit 87de1dd9 authored by Dmitry Romanov's avatar Dmitry Romanov
Browse files

Fix files

parent 5f4de3b3
Branches master
No related tags found
No related merge requests found
......@@ -217,3 +217,7 @@ output.hepmc
test_create_save_load.hepmc2
test_create_save_load.hepmc3
test_env/
test_venv/
......@@ -138,9 +138,14 @@ def process_beam_arguments(beams):
return beam_particles
def hepmc_convert_cli(argv):
def hepmc_convert_cli(argv=None):
"""Main entry point of mcconv executable"""
# Set System arguments by default
if argv is None:
argv = sys.argv[1:]
# Configure parser
parser = argparse.ArgumentParser(description=_app_descr, formatter_class=argparse.RawDescriptionHelpFormatter)
parser.add_argument('inputs', nargs='+', help="File name (wildcards allowed)")
parser.add_argument("-v", "--verbose", action="store_true", help="Enable verbose output. Info level")
......@@ -227,4 +232,4 @@ def hepmc_convert_cli(argv):
if __name__ == '__main__':
hepmc_convert_cli(sys.argv[1:])
hepmc_convert_cli()
# Stringified version. Used both for setup.py and for internal code
version = '0.0.13'
# Stringifyed version. Used both for setup.py and for internal code
version = '0.0.15'
# version as the tuple of ints
version_tuple = tuple(int(val) for val in version.split('.'))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment