Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

converter script: Parameterized processor names trip up converter script #93

Open
tmadlener opened this issue Nov 21, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@tmadlener
Copy link
Contributor

Marlin seems to support the following construct (taken from CLICPerformance/fcceeConfig/fccReconstruction.xml):

  <constants>
    <!-- CalorimeterIntegrationTimeWindow in ns: 10 or 400 -->
    <constant name="CalorimeterIntegrationTimeWindow"> 10 </constant>
  </constants>

  <processors>
    <processor name="MyDDCaloDigi_${CalorimeterIntegrationTimeWindow}ns"/>
  </processors>

this gets converted into

algList.append(MyDDCaloDigi_${CalorimeterIntegrationTimeWindow}ns)

which is an obvious syntax error in python.

@tmadlener tmadlener added the bug Something isn't working label Nov 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant