File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -257,7 +257,7 @@ for row in results_table_serial:
257257print("Time to create cutouts in serial mode: {:2.2f} minutes.".format((time.time() - t1) / 60))
258258
259259# Drop rows that failed to download.
260- results_table_serial = results_table_serial[[r[ "hdus"] is not None for r in results_table_serial] ]
260+ results_table_serial = results_table_serial[result_table_serial[ "hdus"] != None]
261261```
262262
263263### 7.2 Parallel Approach
@@ -296,7 +296,7 @@ with concurrent.futures.ThreadPoolExecutor(max_workers=10) as executor:
296296print("Time to create cutouts in parallel mode: {:2.2f} minutes.".format((time.time() - t1) / 60))
297297
298298# Drop rows that failed to download.
299- results_table_parallel = results_table_parallel[[r[ "hdus"] is not None for r in results_table_parallel] ]
299+ results_table_parallel = results_table_parallel[results_table_parallel[ "hdus"] != None]
300300```
301301
302302## 8. Create a summary table HDU with renamed columns
You can’t perform that action at this time.
0 commit comments