changes made to have better control of the output directory
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user