Task #21046

Document Handling custom placeholders in param overrides

Added by Vladimir Podstavkov almost 2 years ago. Updated about 1 year ago.

Target version:
Start date:
Due date:
% Done:


Estimated time:


POMS broke on a user supplied custom placeholder. See Requested Item RITM0735334.

I have a variable defined in my cfg:

I'd like to override this in my poms campaign stage a la:
-Ojob_output.dest = %(testoutdir)s

File "/home/poms/current/poms/poms/webservice/", line 764, in launch_jobs
"experiment": exp,
KeyError: 'testoutdir'


#1 Updated by Stephen White almost 2 years ago

  • Assignee set to Marc Mengel

#2 Updated by Marc Mengel almost 2 years ago

Double the percent sign, and put single quotes around it.

The doubled percent sign will escape it from the % formatting when POMS generates the command

The single quotes will keep the shell from whining about the parenthesis.

Then fife_launch should expand it from global.testoutdir.

#3 Updated by Marc Mengel over 1 year ago

Converting this to a documentation issue:

We should mention that:

  • if you're using fife_wrap/fife_launch
  • you can define a name in the [globals] section:
  • then you can use overrides with a doubled percent sign to refer to that variable in your config

The single-percent is for a POMS defined value, and the double-percent one is for a value in your config.

#4 Updated by Marc Mengel over 1 year ago

  • Status changed from New to Assigned
  • Assignee changed from Marc Mengel to Margherita Vittone Wiersma


Sending this to you, to try to squeeze into the documentation somewhere.

#5 Updated by Marc Mengel over 1 year ago

  • Subject changed from Handle custom placeholders in param overrides to Document Handling custom placeholders in param overrides

#6 Updated by Stephen White over 1 year ago

  • Target version changed from v4_1_0 to Doc v1_1

#7 Updated by Margherita Vittone Wiersma over 1 year ago

  • % Done changed from 0 to 100
  • Status changed from Assigned to Resolved

This has been added under the Param Override information in the Campaign Stages section.

#8 Updated by Stephen White about 1 year ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF