Commit da010fdb authored by Adrian Nievergelt's avatar Adrian Nievergelt

Cleaned up cmdline arguments

parent 55b60bef
......@@ -15,12 +15,11 @@ import argparse
parser = argparse.ArgumentParser(description = "Rescales mrc volumes such as masks or references with either with a specified scale factor or between two supplied mrc files.")
# parser.add_argument("-f", "--file", help="create overlay for a single file",
parser.add_argument('-o', '--oldMrc', nargs='?', default='.', help='Old tomogram mrc that the MOTLs have been calculated with.')
parser.add_argument('-n', '--newMrc', nargs='?', default='.', help='New tomogram mrc file that the MOTLs should be scaled to.')
parser.add_argument('-o', '--oldMrc', nargs='?', default='.', help='Old mrc that the volume is matched to.')
parser.add_argument('-n', '--newMrc', nargs='?', default='.', help='New mrc file that the MOTLs should be scaled to.')
parser.add_argument('-sf', '--scaleFactor', nargs='?', type=float, help='Manual scale factor, default 2 if nothing specified.')
parser.add_argument('-s', '--suffix', nargs='?', type=str, default='rescaled', help='Suffix to append to rescaled MOTLs. Default is "rescaled".')
parser.add_argument('-s', '--suffix', nargs='?', type=str, default='rescaled', help='Suffix to append to rescaled volume. Default is "rescaled".')
parser.add_argument('-f', '--force', action='store_true', help='Force overwriting output files.')
parser.add_argument('-hl', '--numHeaderLines', nargs='?', type=int, default=1, help='Number of header lines in MOTL, default 1.')
parser.add_argument('file', type=str, nargs='+')
args = parser.parse_args()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment