Skip to content

Commit

Permalink
correct index in accessing data products.
Browse files Browse the repository at this point in the history
  • Loading branch information
dboulware committed Apr 12, 2024
1 parent e702bbd commit 6a6ab71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scos_actions/actions/acquire_sea_data_product.py
Original file line number Diff line number Diff line change
Expand Up @@ -586,7 +586,7 @@ def __call__(self, sensor: Sensor, schedule_entry: dict, task_id: int):
logger.debug(f"Working on channel {index}")
channel_data = []
# Now block until the data is ready
dp_refs_tuple = ray.get(data_products_refs[i])
dp_refs_tuple = ray.get(data_products_refs[index])
psd_ref, pvt_ref, pfp_ref, apd_ref = dp_refs_tuple
logger.debug("Getting PSD data.")
psd_data = ray.get(psd_ref)
Expand Down

0 comments on commit 6a6ab71

Please sign in to comment.