Skip to content
Snippets Groups Projects
Commit f9a7d424 authored by paradoxe-tech's avatar paradoxe-tech
Browse files

argument parser natively supports default values

parent 546386bb
No related branches found
No related tags found
No related merge requests found
......@@ -8,7 +8,7 @@ if __name__ == "__main__":
parser = argparse.ArgumentParser()
parser.add_argument("-d", "--device", type=str, default="cuda:0", help="Set the device (cpu or cuda:0)")
parser.add_argument("-o", "--output", type=str, default="./results/mutants", help="Set the path for the output directory (defaults to ./results/mutants)")
parser.add_argument("-o", "--output", type=str, default="./results/mutants", help="Set the path for the output directory")
parser.add_argument("-v", "--verbose", type=int, choices=[0, 1, 2], default=1, help="Set the verbosity between 0 and 2")
parser.add_argument("--receptor", type=str, required=True, help="Set the receptor filepath")
parser.add_argument("--ligand", type=str, required=True, help="Set the ligand filepath")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment