Skip to content

Move topobits.py from lines

Murilo Santana Rangel requested to merge jet_movetopobits into 2024-patches

Move file to avoid circular dependence (see below).

In current 2024_patches, using standard_jets.py, we get the error:

`ImportError: cannot import name 'make_onlytrack_particleflow' from partially initialized module 'Hlt2Conf.standard_jets' (most likely due to a circular im    port) (/scratch/rangel/stack_jet_jetid/Moore/Hlt/Hlt2Conf/python/Hlt2Conf/standard_jets.py)

This can be reproduced by running the test below:

Moore/run gaudirun.py import_test.py 

where you just include from Hlt2Conf.standard_jets import make_onlytrack_particleflow in the file import_test.py

Edited by Murilo Santana Rangel

Merge request reports