Skip to content

Commit

Permalink
change to using complete instead of time_remaining
Browse files Browse the repository at this point in the history
  • Loading branch information
slwatkins authored Jun 3, 2024
1 parent 3026d51 commit d242a6a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/splendaq/daq/_log_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -490,8 +490,7 @@ def log_data(self, duration, savepath='./', comments='',
time.sleep(0.5)
# Get current progress percentage and check if it's complete
progress = self.DL.logging_progress()
remaining_time = progress['time_remaining']
is_logging = remaining_time > 0
is_logging = progress['complete']

filenames.append(logfile['file_name'])

Expand Down

0 comments on commit d242a6a

Please sign in to comment.