Project

General

Profile

Actions

Development #323

open
TU SC

Kombajn: 16, szesnastka, multichannel

Development #323: Kombajn: 16, szesnastka, multichannel

Added by tickets user user about 12 hours ago. Updated about 11 hours ago.

Status:
Backlog
Priority:
Low
Start date:
04/07/2026
Due date:
% Done:

0%

Estimated time:

Description

TZ: Mam problem z wygenerowaniem raportu:
OWNER: Test Owner
Statek: Multichannel test [635]
raport: 8124M-2026TEST
Jest to raport testowy, wgrany jest tam jeden plik (SET 2, 50 RPM)

Sprawdziłem typowe problemy i nwm co jest tego przycyzną, proszę o pomoc w znalezieniu co tam jest nie tak.

Traceback (most recent call last):
File "/queue/tasks.py", line 379, in make_multichannel_report
input_json = multichannel_data.get_data()
File "/queue/modules/MultichannelModules/multichannel.py", line 27, in get_data
measurements_point_df, measurements_chart_df = self.get_measurements_df(
File "/queue/modules/MultichannelModules/multichannel.py", line 455, in get_measurements_df
measurements_chart_df, measurements_chart_df_vsg = self.get_dataframe_overtones(
File "/queue/modules/MultichannelModules/multichannel.py", line 603, in get_dataframe_overtones
] = measurements_chart_df.apply(lambda row: self.get_overtones(row), axis=1)
File "/usr/local/lib/python3.9/site-packages/pandas/core/frame.py", line 9423, in apply
return op.apply().finalize(self, method="apply")
File "/usr/local/lib/python3.9/site-packages/pandas/core/apply.py", line 678, in apply
return self.apply_standard()
File "/usr/local/lib/python3.9/site-packages/pandas/core/apply.py", line 798, in apply_standard
results, res_index = self.apply_series_generator()
File "/usr/local/lib/python3.9/site-packages/pandas/core/apply.py", line 814, in apply_series_generator
results[i] = self.f(v)
File "/queue/modules/MultichannelModules/multichannel.py", line 603, in
] = measurements_chart_df.apply(lambda row: self.get_overtones(row), axis=1)
File "/queue/modules/MultichannelModules/multichannel.py", line 372, in get_overtones
third_overtone = self._find_peak_in_range(row["chart"], idx_3, search_range=3)
File "/queue/modules/MultichannelModules/multichannel.py", line 353, in _find_peak_in_range
peak_value = float(chart[start_idx])
IndexError: list index out of range

TZ Updated by Tomasz Zawadko about 11 hours ago Actions #1

  • Project changed from Tickets to Multichannel
  • Assignee changed from tickets user user to Sebastian Citko
Actions

Also available in: PDF Atom