Skip to content

Draft: Change default behaviour of lines to not add prescale=1

Christoph Hasse requested to merge chasse_prescale into master

This introduces the possibility to not add a DeterministicPrescaler if one specifies prescale=None.
Furthermore, this MR makes this behavior the default.

I've split the changes into 2 commits for easier review:

  1. The actual change in lines.py adapting the python base classes of {Decision,Hlt1,Hlt2,Spruce}Line
  2. A search and replace of patterns like prescale=1 to prescale=None

@sstahl @rmatev WDYT?

Edited by Christoph Hasse

Merge request reports

Loading