From d242a6a967c0fa9e6c6a1d5a0c852b499b2ce277 Mon Sep 17 00:00:00 2001 From: Samuel Watkins <35979561+slwatkins@users.noreply.github.com> Date: Mon, 3 Jun 2024 15:39:54 -0600 Subject: [PATCH] change to using complete instead of time_remaining --- src/splendaq/daq/_log_data.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/splendaq/daq/_log_data.py b/src/splendaq/daq/_log_data.py index 6402ef8..69d7f8c 100644 --- a/src/splendaq/daq/_log_data.py +++ b/src/splendaq/daq/_log_data.py @@ -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'])