Skip to content

Commit

Permalink
Remove tmpdir
Browse files Browse the repository at this point in the history
  • Loading branch information
callumforrester committed Feb 3, 2025
1 parent 07ac014 commit e743c79
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/blueapi/startup/example_devices.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
from pathlib import Path
from tempfile import TemporaryDirectory

from dodal.common.beamlines.beamline_utils import set_path_provider
from dodal.common.visit import LocalDirectoryServiceClient, StaticVisitPathProvider
Expand All @@ -9,7 +8,9 @@

# Some of our plans such as "count" and "spec_scan" require this global
# singleton to be set
_tmp_dir = Path(TemporaryDirectory().name)

# Workaround for https://github.com/DiamondLightSource/blueapi/issues/784
_tmp_dir = Path("/does/not/exist")
set_path_provider(
StaticVisitPathProvider(
"t01",
Expand Down

0 comments on commit e743c79

Please sign in to comment.