Skip to content

Commit

Permalink
Restore import or ray.
Browse files Browse the repository at this point in the history
  • Loading branch information
dboulware committed Mar 14, 2024
1 parent 57452a6 commit 521518a
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 @@ -23,6 +23,7 @@
import logging
import lzma
import platform
import ray
import sys
from enum import EnumMeta
from time import perf_counter
Expand Down Expand Up @@ -505,7 +506,6 @@ def __call__(self, sensor: Sensor, schedule_entry: dict, task_id: int):
action_start_tic = perf_counter()
# Ray should have already been initialized within scos-sensor,
# but check and initialize just in case.
import ray

if not ray.is_initialized():
logger.info("Initializing ray.")
Expand Down

0 comments on commit 521518a

Please sign in to comment.