Columns must be same length as key
Traceback (most recent call last): File "/opt/acc-bpt/release_2025_02/jinja/build_static_plots.py", line 85, in _create_static_html_content output_html_file_path = driver.build(abs_plot_dest_file_html) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/acc-bpt/release_2025_02/acc_bpt/shared/BptV2.py", line 319, in build raise ex File "/opt/acc-bpt/release_2025_02/acc_bpt/shared/BptV2.py", line 292, in build analyzed_data = self.bptStatic.analyze(rawdata) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/acc-bpt/release_2025_02/acc_bpt/ps/shared/script_ps_position_v.py", line 288, in analyze df[['BPM106','BPM151','BPM211','BPM251','BPM274','BPM311','BPM346','BPM368']]=pd.DataFrame(df["PS.F16.PROC.BPMALPS:Acquisition:posVerTurn1"].tolist(),index=df.index) ~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/acc-bpt/acc-bpt-dev/venv/lib/python3.11/site-packages/pandas/core/frame.py", line 3968, in __setitem__ self._setitem_array(key, value) File "/opt/acc-bpt/acc-bpt-dev/venv/lib/python3.11/site-packages/pandas/core/frame.py", line 4010, in _setitem_array check_key_length(self.columns, key, value) File "/opt/acc-bpt/acc-bpt-dev/venv/lib/python3.11/site-packages/pandas/core/indexers/utils.py", line 401, in check_key_length raise ValueError("Columns must be same length as key") ValueError: Columns must be same length as key
Generated 2025-04-04 20:03:39.524340+02:00