We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2d83ac7 commit cf044d4Copy full SHA for cf044d4
psflux/plot_flux_ccdb.py
@@ -105,6 +105,11 @@ def main():
105
106
# get run list
107
runs = rcdb_conn.select_runs(RCDB_QUERY, BEGINRUN, ENDRUN)
108
+ #print runs
109
+ #print len(runs)
110
+ if len(runs) == 0:
111
+ print("There are no runs matching the query \""+RCDB_QUERY +"\" between runs "+str(BEGINRUN)+" and "+str(ENDRUN))
112
+ return
113
114
photon_endpoint = array('f')
115
tagm_tagged_flux = array('f')
@@ -117,7 +122,7 @@ def main():
117
122
118
123
# Loop over runs
119
124
for run in runs:
120
-
125
+ print run
121
126
# select run conditions: AMO, PARA, and PERP and polarization angle
127
if RCDB_POLARIZATION != "":
128
conditions_by_name = run.get_conditions_by_name()
0 commit comments