Skip to content

Conversation

@sfranchel
Copy link

@sfranchel sfranchel commented Oct 30, 2025

BEGINRELEASENOTES

  • ddsim: UI commands passed as CLI arguments are now split by ;, so that Geant4 commands requiring multiple arguments can be used in the CLI.

ENDRELEASENOTES

This PR is trying to allow for passing UI commands in CLI, which may be useful for scripting ddism executions. Currently it seems to be unfeasible to run e.g.:

ddsim  --ui.commandsConfigure ='"/cuts/setLowEdge 50 eV" "/process/em/lowestElectronEnergy 1 eV"'

to achieve an equivalent of :

SIM.ui.commandsConfigure = ["/cuts/setLowEdge 50 eV", "/process/em/lowestElectronEnergy 1 eV"]

from a steering file.

This PR aims to make the following approach work:

ddsim  --ui.commandsConfigure="/cuts/setLowEdge 50 eV; /process/em/lowestElectronEnergy 1 eV"

Any guidance is always welcome :)

Cheers,
Stefano

@github-actions
Copy link

github-actions bot commented Nov 3, 2025

Test Results

   18 files     18 suites   8h 8m 53s ⏱️
  372 tests   372 ✅ 0 💤 0 ❌
3 278 runs  3 278 ✅ 0 💤 0 ❌

Results for commit a56df2f.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant