Skip to content
This repository has been archived by the owner on Dec 16, 2022. It is now read-only.

Commit

Permalink
MNT #127 IMMout writes to /data/
Browse files Browse the repository at this point in the history
  • Loading branch information
S8 I Group Acct committed Jan 30, 2020
1 parent e256fc9 commit e0d4731
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions profile_bluesky/startup/26-lambda.py
Original file line number Diff line number Diff line change
Expand Up @@ -497,6 +497,9 @@ def staging_setup_DM(self, *args, **kwargs):
acquire_period = args[4]
# logger.debug(f"staging_setup_DM({args})")

if self._file_path.startswith("/home/8-id-i/"):
self._file_path = "/data/" + self._file_path.lstrip("/home/8-id-i/")

self.cam.stage_sigs["num_images"] = num_images
# replaced by: self.cam.setTime(acquire_time, acquire_period)
self.immout.stage_sigs["enable"] = 1
Expand Down

0 comments on commit e0d4731

Please sign in to comment.