You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: run_tesscorr.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -31,7 +31,7 @@ def main():
31
31
parser.add_argument('--camera', type=int, choices=(1,2,3,4), default=None, help='TESS Camera. Default is to run all cameras.')
32
32
parser.add_argument('--ccd', type=int, choices=(1,2,3,4), default=None, help='TESS CCD. Default is to run all CCDs.')
33
33
parser.add_argument('--starid', type=int, help='TIC identifier of target.', nargs='?', default=None)
34
-
parser.add_argument('--datasource', type=str, choices=('ffi','tpf'), default='ffi', help='Data source or cadence.')
34
+
parser.add_argument('--datasource', type=str, choices=('ffi','tpf'), default=None, help='Data source or cadence. Default is to run all.')
35
35
parser.add_argument('input_folder', type=str, help='Input directory. This directory should contain a TODO-file and corresponding lightcurves.', nargs='?', default=None)
36
36
parser.add_argument('output_folder', type=str, help='Directory to save output in.', nargs='?', default=None)
parser.add_argument('-p', '--plot', help='Save plots when running.', action='store_true')
43
43
parser.add_argument('--camera', type=int, choices=(1,2,3,4), default=None, help='TESS Camera. Default is to run all cameras.')
44
44
parser.add_argument('--ccd', type=int, choices=(1,2,3,4), default=None, help='TESS CCD. Default is to run all CCDs.')
45
-
parser.add_argument('--datasource', type=str, choices=('ffi','tpf'), default='ffi', help='Data source or cadence.')
45
+
parser.add_argument('--datasource', type=str, choices=('ffi','tpf'), default=None, help='Data source or cadence. Default is to run all.')
46
46
parser.add_argument('input_folder', type=str, help='Input directory. This directory should contain a TODO-file and corresponding lightcurves.', nargs='?', default=None)
47
47
args=parser.parse_args()
48
48
49
+
# Set logging level:
50
+
logging_level=logging.INFO
51
+
ifargs.quiet:
52
+
logging_level=logging.WARNING
53
+
elifargs.debug:
54
+
logging_level=logging.DEBUG
55
+
49
56
# Get input and output folder from environment variables:
0 commit comments