Skip to content

Commit

Permalink
Merge pull request bluesky#697 from mrakitin/fix_stop_capture_in_sing…
Browse files Browse the repository at this point in the history
…le_mode

FIX: Setting Capture has no effect in Single Mode.
  • Loading branch information
danielballan authored and tacaswell committed Mar 8, 2019
1 parent 61e61e8 commit 57e6853
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ophyd/areadetector/filestore_mixins.py
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,8 @@ def stage(self):
filename, read_path, write_path = self.make_filename()

# Ensure we do not have an old file open.
set_and_wait(self.capture, 0)
if self.file_write_mode != 'Single':
set_and_wait(self.capture, 0)
# These must be set before parent is staged (specifically
# before capture mode is turned on. They will not be reset
# on 'unstage' anyway.
Expand Down

0 comments on commit 57e6853

Please sign in to comment.