changes made to have better control of the output directory

This commit is contained in:
sebastianp
2016-05-24 13:21:38 +02:00
parent 08df7c3304
commit 4962561d6c
3 changed files with 23 additions and 13 deletions

View File

@@ -19,8 +19,10 @@ if __name__ == '__main__':
)
parser.add_argument(
'dbroot', type=str, help='specifies the root directory (in '
'most cases PILOT database folder)'
'root', type=str, help='specifies the root directory'
)
parser.add_argument(
'db', type=str, help='specifies the database name'
)
parser.add_argument(
'--output', '-o', type=str, help='path to the output directory',
@@ -36,4 +38,4 @@ if __name__ == '__main__':
)
args = parser.parse_args()
reassess_pilot_db(args.dbroot, args.output, args.parfile, args.verbosity)
reassess_pilot_db(args.root, args.db, args.output, args.parfile, args.verbosity)

View File

@@ -19,8 +19,10 @@ if __name__ == '__main__':
)
parser.add_argument(
'dbroot', type=str, help='specifies the root directory (in '
'most cases PILOT database folder)'
'root', type=str, help='specifies the root directory'
)
parser.add_argument(
'db', type=str, help='specifies the database name'
)
parser.add_argument(
'id', type=str, help='PILOT event identifier'
@@ -33,4 +35,4 @@ if __name__ == '__main__':
)
args = parser.parse_args()
reassess_pilot_event(args.dbroot, args.id, args.output, args.parfile)
reassess_pilot_event(args.root, args.db, args.id, args.output, args.parfile)