mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
removed debugging for mac builds...
This commit is contained in:
parent
6a34101678
commit
855e82603a
3 changed files with 1 additions and 8 deletions
3
.github/workflows/build_server.yml
vendored
3
.github/workflows/build_server.yml
vendored
|
@ -48,9 +48,6 @@ jobs:
|
||||||
brew install portaudio
|
brew install portaudio
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
pip3 install pyaudio
|
pip3 install pyaudio
|
||||||
export PYTHONPATH=/Library/Frameworks/Python.framework/Versions/3.11/lib/:$PYTHONPATH
|
|
||||||
otool -L /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/_sounddevice_data/portaudio-binaries/libportaudio.dylib
|
|
||||||
otool -L /usr/local/lib/libportaudio.2.dylib
|
|
||||||
|
|
||||||
- name: Install Python dependencies
|
- name: Install Python dependencies
|
||||||
run: |
|
run: |
|
||||||
|
|
|
@ -166,6 +166,7 @@ class ARQSession:
|
||||||
}
|
}
|
||||||
|
|
||||||
def update_histograms(self, confirmed_bytes, total_bytes):
|
def update_histograms(self, confirmed_bytes, total_bytes):
|
||||||
|
|
||||||
stats = self.calculate_session_statistics(confirmed_bytes, total_bytes)
|
stats = self.calculate_session_statistics(confirmed_bytes, total_bytes)
|
||||||
self.snr_histogram.append(self.snr)
|
self.snr_histogram.append(self.snr)
|
||||||
self.bpm_histogram.append(stats['bytes_per_minute'])
|
self.bpm_histogram.append(stats['bytes_per_minute'])
|
||||||
|
|
|
@ -161,11 +161,6 @@ class ARQSessionISS(arq_session.ARQSession):
|
||||||
# update statistics
|
# update statistics
|
||||||
self.update_histograms(self.confirmed_bytes, self.total_length)
|
self.update_histograms(self.confirmed_bytes, self.total_length)
|
||||||
self.update_speed_level(irs_frame)
|
self.update_speed_level(irs_frame)
|
||||||
#if 'offset' in irs_frame:
|
|
||||||
# self.confirmed_bytes = irs_frame['offset']
|
|
||||||
# self.log(f"IRS confirmed {self.confirmed_bytes}/{self.total_length} bytes")
|
|
||||||
# self.event_manager.send_arq_session_progress(
|
|
||||||
# True, self.id, self.dxcall, self.confirmed_bytes, self.total_length, self.state.name, statistics=self.calculate_session_statistics(self.confirmed_bytes, self.total_length))
|
|
||||||
|
|
||||||
|
|
||||||
if self.expected_byte_offset > self.total_length:
|
if self.expected_byte_offset > self.total_length:
|
||||||
|
|
Loading…
Reference in a new issue