On Feb 2, 2012, at 12:23 PM, Shantanu Pavgi wrote: > > The job scripts generated by galaxy contain following code. I was wondering > what's the purpose of if-block after setting 'GALAXY_LIB="None"' assignment. > > {{{ > GALAXY_LIB="None" > if [ "$GALAXY_LIB" != "None" ]; then > if [ -n "$PYTHONPATH" ]; then > PYTHONPATH="$GALAXY_LIB:$PYTHONPATH" > else > PYTHONPATH="$GALAXY_LIB" > fi > export PYTHONPATH > fi > > }}}
Hi Shantanu, That file is a template and GALAXY_LIB="%s" is filled with the value of job_wrapper.galaxy_lib_dir. It won't always be None. --nate > > -- > Shantanu > ___________________________________________________________ > Please keep all replies on the list by using "reply all" > in your mail client. To manage your subscriptions to this > and other Galaxy lists, please use the interface at: > > http://lists.bx.psu.edu/ ___________________________________________________________ Please keep all replies on the list by using "reply all" in your mail client. To manage your subscriptions to this and other Galaxy lists, please use the interface at: http://lists.bx.psu.edu/