You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
do not work, because (given how VarParsing, unfortunately, works) they result in a list of lists [[1467, 1468]] that then results an error
TypeError: wrong types (<class 'list'>) added to <class 'FWCore.ParameterSet.Types.vint32'>
Presently there is no intention to improve VarParsing behavior in this regards (see rationale in #45961 (comment) and #45640 (comment)). Our recommendation would be switch to standard python argparse. If that is not feasible, and if the aforementioned behavior is important, the configuration file should handle this case by itself.
The text was updated successfully, but these errors were encountered:
I noticed in #45640 (comment) the
VarParsing
defaults incmssw/EventFilter/GEMRawToDigi/test/runGEMUnpacker_cfg.py
Lines 67 to 71 in 3242ef3
do not work, because (given how
VarParsing
, unfortunately, works) they result in a list of lists[[1467, 1468]]
that then results an errorPresently there is no intention to improve
VarParsing
behavior in this regards (see rationale in #45961 (comment) and #45640 (comment)). Our recommendation would be switch to standard pythonargparse
. If that is not feasible, and if the aforementioned behavior is important, the configuration file should handle this case by itself.The text was updated successfully, but these errors were encountered: