Skip to content
Snippets Groups Projects
Commit 4f068c21 authored by Thomas Kluyver's avatar Thomas Kluyver
Browse files

Parse run numbers as integers in sqlite_view.py

parent 55df983d
No related branches found
No related tags found
1 merge request!683[Webservice] Restructure database to give more meaningful success/failure information
...@@ -5,7 +5,7 @@ parser = argparse.ArgumentParser( ...@@ -5,7 +5,7 @@ parser = argparse.ArgumentParser(
description='Update run status at MDC for a given run id.') description='Update run status at MDC for a given run id.')
parser.add_argument('--sqlite-fpath', type=str, help='Path to sqlite file path', parser.add_argument('--sqlite-fpath', type=str, help='Path to sqlite file path',
default='/home/xcal/calibration_webservice/webservice/webservice_jobs.sqlite') # noqa default='/home/xcal/calibration_webservice/webservice/webservice_jobs.sqlite') # noqa
parser.add_argument('--run', type=str, help='The run number required ' parser.add_argument('--run', type=int, help='The run number required '
' for checking its job status.') ' for checking its job status.')
parser.add_argument('--proposal', type=str, help='Proposal numer') parser.add_argument('--proposal', type=str, help='Proposal numer')
......
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