Commit e5a3c4f1 authored by norvell's avatar norvell
Browse files

Fix in argument handling

parent ed3c3194
Loading
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -62,13 +62,13 @@ if __name__ == "__main__":
    parser.add_argument(
        "--measures",
        nargs="+",
        help="List of measures to include in summary. Allowed values: MLD DIFF SSNR ODG DELTA_ODG",
        help=f"List of measures to include in summary. Allowed values: {' '.join(title.keys())}",
        default=["MLD", "DIFF", "SSNR", "ODG"],
    )
    args = parser.parse_args()

    if not all([m in title for m in args.measures]):
        raise ValueError(f"Invalid list of measures: {args.measures}, expected one of {list(title.keys())}")
        raise ValueError(f"Invalid list of measures: {args.measures}, expected one of {' '.join(title.keys())}")

    create_summary_page(
        args.html_out,