Error

'BPM274'

Details

    Traceback (most recent call last):
  File "/opt/acc-bpt/release_2024_11/venv/lib/python3.11/site-packages/pandas/core/indexes/base.py", line 3802, in get_loc
    return self._engine.get_loc(casted_key)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "pandas/_libs/index.pyx", line 138, in pandas._libs.index.IndexEngine.get_loc
  File "pandas/_libs/index.pyx", line 165, in pandas._libs.index.IndexEngine.get_loc
  File "pandas/_libs/hashtable_class_helper.pxi", line 5745, in pandas._libs.hashtable.PyObjectHashTable.get_item
  File "pandas/_libs/hashtable_class_helper.pxi", line 5753, in pandas._libs.hashtable.PyObjectHashTable.get_item
KeyError: 'BPM274'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/opt/acc-bpt/release_2024_12_new/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_2024_12_new/acc_bpt/shared/BptV2.py", line 319, in build
    raise ex
  File "/opt/acc-bpt/release_2024_12_new/acc_bpt/shared/BptV2.py", line 298, in build
    name, content = self.bptStatic.create_bokeh_model(analyzed_data)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/acc-bpt/release_2024_12_new/acc_bpt/ps/shared/script_ps_position_v.py", line 840, in create_bokeh_model
    data_1tour['BPM274'] = data_1tour['BPM274'].rolling(window=20).mean()
                           ~~~~~~~~~~^^^^^^^^^^
  File "/opt/acc-bpt/release_2024_11/venv/lib/python3.11/site-packages/pandas/core/frame.py", line 3807, in __getitem__
    indexer = self.columns.get_loc(key)
              ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/acc-bpt/release_2024_11/venv/lib/python3.11/site-packages/pandas/core/indexes/base.py", line 3804, in get_loc
    raise KeyError(key) from err
KeyError: 'BPM274'

    

Generated 2024-11-01 17:17:55.979998+01:00