Commit 1e1ca295 authored by michitaro's avatar michitaro
Browse files

update for pdr3

parent 1e682419
......@@ -10,7 +10,8 @@ python hscReleaseQuery.py --user $YOUR_ID 1.sql --format csv > 1.csv
## Advanced Usage
```
usage: hscReleaseQuery.py [-h] --user USER [--release-version {pdr1,pdr2}]
usage: hscReleaseQuery.py [-h] --user USER
[--release-version {pdr1,pdr2,pdr2-citus,pdr3,pdr3-citus}]
[--delete-job] [--format {csv,csv.gz,sqlite3,fits}]
[--nomail] [--password-env PASSWORD_ENV] [--preview]
[--skip-syntax-check] [--api-url API_URL]
......@@ -22,8 +23,8 @@ positional arguments:
optional arguments:
-h, --help show this help message and exit
--user USER, -u USER specify your account name (default: None)
--release-version {pdr1,pdr2}, -r {pdr1,pdr2}
specify release version (default: pdr2)
--release-version {pdr1,pdr2,pdr2-citus,pdr3,pdr3-citus}, -r {pdr1,pdr2,pdr2-citus,pdr3,pdr3-citus}
specify release version (default: pdr3)
--delete-job, -D delete the job you submitted after your downloading
(default: False)
--format {csv,csv.gz,sqlite3,fits}, -f {csv,csv.gz,sqlite3,fits}
......
......@@ -22,7 +22,7 @@ def main():
parser = argparse.ArgumentParser(formatter_class=argparse.ArgumentDefaultsHelpFormatter)
parser.add_argument('--user', '-u', required=True,
help='specify your account name')
parser.add_argument('--release-version', '-r', choices='pdr1 pdr2 pdr2-citus'.split(), default='pdr2',
parser.add_argument('--release-version', '-r', choices='pdr1 pdr2 pdr2-citus pdr3 pdr3-citus'.split(), default='pdr3',
help='specify release version')
parser.add_argument('--delete-job', '-D', action='store_true',
help='delete the job you submitted after your downloading')
......
......@@ -22,7 +22,7 @@ def main():
parser = argparse.ArgumentParser(formatter_class=argparse.ArgumentDefaultsHelpFormatter)
parser.add_argument('--user', '-u', required=True,
help='specify your account name')
parser.add_argument('--release-version', '-r', choices='pdr1 pdr2 pdr2-citus'.split(), default='pdr2',
parser.add_argument('--release-version', '-r', choices='pdr1 pdr2 pdr2-citus pdr3 pdr3-citus'.split(), default='pdr3',
help='specify release version')
parser.add_argument('--delete-job', '-D', action='store_true',
help='delete the job you submitted after your downloading')
......
Supports Markdown
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