PipelineRunner parameter flag

31 views
Skip to first unread message

Kate Alpert

unread,
Feb 27, 2013, 12:12:16 PM2/27/13
to Xnat
Hi all,

I am having trouble using PipelineRunner (both 1.5 and 1.6) with a -parameter basedir=$TMPDIR argument.  The "Param Value Pair" is set properly "Param Value Pair basedir=/home/me/tmp", however, I immediately receive the following error:
"org.nrg.pipeline.exception.PipelineEngineException: Couldn't resolve ^/Pipeline/parameters/parameter[name='basedir']/values/unique/text()^ XPath Expression for step[1]".

Any ideas?

Thanks,
Kate

Mohana Ramaratnam

unread,
Feb 27, 2013, 12:20:55 PM2/27/13
to xnat_di...@googlegroups.com
Hi Kate,

Could you please send me the pipeline xml and also the pipeline log file.

PS: I am looking into the Notification issue using PipelineRunner.

Mohana


--
You received this message because you are subscribed to the Google Groups "xnat_discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to xnat_discussi...@googlegroups.com.
To post to this group, send email to xnat_di...@googlegroups.com.
Visit this group at http://groups.google.com/group/xnat_discussion?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Mohana Ramaratnam

unread,
Feb 27, 2013, 12:43:06 PM2/27/13
to xnat_di...@googlegroups.com
Hi Kate,

I wonder what the person who wrote the pipeline code was thinking. PipelineRunner will either take a parameter file or all parameters using -parameter NAME=VALUE, it cannt handle both. This ability is there in XNATpipelineLauncher, but was not reflected in PipelineRunner.

I will modify the code of PipelineRunner to accept both, until then, please set all input arguments using one of the two - parameter file or -parameter NAME=VALUE.

Mohana


On Wed, Feb 27, 2013 at 10:42 PM, Kate Alpert <kathryn...@gmail.com> wrote:

--

Kate Alpert

unread,
Feb 27, 2013, 12:45:07 PM2/27/13
to xnat_di...@googlegroups.com
Wonderful, Mohana, thanks!

Kate

unread,
May 15, 2013, 6:01:42 PM5/15/13
to xnat_di...@googlegroups.com
Hi Mohana,

For PipelineRunner 1.5, it seems that the -parameter NAME=VALUE cannot handle a VALUE with a space - e.g., -parameter reconopts="-all -qcache".  Is this correct?  If so, any recommendations for how best to get around this?  Perhaps a writing a custom class like StringUtils?

Thanks very much,
Kate

Kate

unread,
May 21, 2013, 5:20:50 PM5/21/13
to xnat_di...@googlegroups.com
Update: I figured out a work-around using commas and PIPELINE_LOOPVALUE.
Reply all
Reply to author
Forward
0 new messages