Skip to content

Commit

Permalink
Update Use Dask message in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
remi-braun committed Dec 10, 2024
1 parent 348d645 commit a4453c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CI/scripts_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,13 +127,13 @@ def dask_env_wrapper():
# else:
os.environ[TILE_SIZE] = "auto"
if use_dask():
LOGGER.info("Using DASK threading by chunking the data")
LOGGER.info("Using Dask and creating Dask client.")
with tempenv.TemporaryEnvironment(
{"CLOUDPATHLIB_FORCE_OVERWRITE_FROM_CLOUD": "1"}
), dask.get_or_create_dask_client():
function()
else:
LOGGER.info("No chunking will be done. Beware of memory overflow errors!")
LOGGER.info("**NOT** using Dask!")
function()

return dask_env_wrapper
Expand Down

0 comments on commit a4453c1

Please sign in to comment.