From 4fa6a53f7e2df4ef2e5642568ea34ae809aa6b70 Mon Sep 17 00:00:00 2001 From: bartulem Date: Fri, 27 Sep 2024 12:20:14 -0400 Subject: [PATCH] v0.4.1 remove quantumrandom from sync, too unreliable --- README.md | 2 +- setup.py | 2 +- src/prepare_cluster_job.py | 2 +- src/synchronize_files.py | 5 +---- src/usv_playpen_gui.py | 2 +- 5 files changed, 5 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 7124998..03752fe 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# usv-playpen v0.4.0 +# usv-playpen v0.4.1
diff --git a/setup.py b/setup.py index 0e124e3..a1e086b 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ setup( name='usv-playpen', - version='0.4.0', + version='0.4.1', author='@bartulem', author_email='mimica.bartul@gmail.com', classifiers=[ diff --git a/src/prepare_cluster_job.py b/src/prepare_cluster_job.py index be85a42..3d0c809 100644 --- a/src/prepare_cluster_job.py +++ b/src/prepare_cluster_job.py @@ -1,6 +1,6 @@ """ @author: bartulem -Creates/saves text file with list of videos to run inference on. +Creates/saves text file with list of videos to run SLEAP inference on. """ import json diff --git a/src/synchronize_files.py b/src/synchronize_files.py index f8d9f3b..42c33e6 100644 --- a/src/synchronize_files.py +++ b/src/synchronize_files.py @@ -598,10 +598,7 @@ def find_audio_sync_trains(self): self.message_output(f"A/V synchronization started at: {datetime.now().hour:02d}:{datetime.now().minute:02d}.{datetime.now().second:02d}") QTest.qWait(1000) - try: - quantum_seed = generate_truly_random_seed(input_parameter_dict=self.input_parameter_dict_random) - except (TimeoutError, RequestException, urllib.error.URLError, urllib.error.HTTPError): - quantum_seed = None + quantum_seed = None wave_data_dict = DataLoader(input_parameter_dict={'wave_data_loc': [f"{self.root_directory}{os.sep}audio{os.sep}cropped_to_video"], 'load_wavefile_data': {'library': 'scipy', diff --git a/src/usv_playpen_gui.py b/src/usv_playpen_gui.py index 493f128..16b565a 100644 --- a/src/usv_playpen_gui.py +++ b/src/usv_playpen_gui.py @@ -50,7 +50,7 @@ my_app_id = 'mycompany.myproduct.subproduct.version' ctypes.windll.shell32.SetCurrentProcessExplicitAppUserModelID(my_app_id) -app_name = 'USV Playpen v0.4.0' +app_name = 'USV Playpen v0.4.1' experimenter_id = 'bartulem' cup_directory_name = 'Bartul' email_list_global = ''