diff --git a/VERSION b/VERSION index 03fcdbc4..a366a087 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.2.73 +1.2.74 diff --git a/ppanggolin/RGP/spot.py b/ppanggolin/RGP/spot.py index ef8b9cfb..a0fb826d 100644 --- a/ppanggolin/RGP/spot.py +++ b/ppanggolin/RGP/spot.py @@ -169,6 +169,9 @@ def launch(args): def spotSubparser(subparser): parser = subparser.add_parser("spot", formatter_class=argparse.ArgumentDefaultsHelpFormatter) + required = parser.add_argument_group(title="Required arguments", + description="One of the following arguments is required :") + required.add_argument('-p', '--pangenome', required=True, type=str, help="The pangenome .h5 file") optional = parser.add_argument_group(title="Optional arguments") optional.add_argument('-o', '--output', required=False, type=str, default="ppanggolin_output" + time.strftime("_DATE%Y-%m-%d_HOUR%H.%M.%S", @@ -199,7 +202,4 @@ def spotSubparser(subparser): optional.add_argument("--priority", required=False, action="store_true", help=argparse.SUPPRESS) # This ensures compatibility with the old API # but does not use the option - required = parser.add_argument_group(title="Required arguments", - description="One of the following arguments is required :") - required.add_argument('-p', '--pangenome', required=True, type=str, help="The pangenome .h5 file") return parser