Skip to content
Snippets Groups Projects
Closed tracking/scripts/tracking_performance.py fails (but gitlab doesn't catch it)
  • View options
  • tracking/scripts/tracking_performance.py fails (but gitlab doesn't catch it)

  • View options
  • Closed Issue created by Wouter Deconinck

    e.g. https://eicweb.phy.anl.gov/EIC/benchmarks/reconstruction_benchmarks/-/jobs/263759

    Traceback (most recent call last):
      File "/usr/local/lib/python3.7/site-packages/pandas/core/indexes/base.py", line 3361, in get_loc
        return self._engine.get_loc(casted_key)
      File "pandas/_libs/index.pyx", line 76, in pandas._libs.index.IndexEngine.get_loc
      File "pandas/_libs/index.pyx", line 108, in pandas._libs.index.IndexEngine.get_loc
      File "pandas/_libs/hashtable_class_helper.pxi", line 5198, in pandas._libs.hashtable.PyObjectHashTable.get_item
      File "pandas/_libs/hashtable_class_helper.pxi", line 5206, in pandas._libs.hashtable.PyObjectHashTable.get_item
    KeyError: 'theta'
    The above exception was the direct cause of the following exception:
    Traceback (most recent call last):
      File "/builds/EIC/benchmarks/reconstruction_benchmarks/benchmarks/tracking/scripts/tracking_performance.py", line 150, in <module>
        rec_eta, _ = np.histogram(-np.log(np.tan(df['theta'].values/2.)), bins=eta_bins)
      File "/usr/local/lib/python3.7/site-packages/pandas/core/frame.py", line 3455, in __getitem__
        indexer = self.columns.get_loc(key)
      File "/usr/local/lib/python3.7/site-packages/pandas/core/indexes/base.py", line 3363, in get_loc
        raise KeyError(key) from err
    KeyError: 'theta'

    Linked items ... 0

  • Activity

    • All activity
    • Comments only
    • History only
    • Newest first
    • Oldest first
    Loading Loading Loading Loading Loading Loading Loading Loading Loading Loading