Skip to content

Commit

Permalink
Remove CONDA_PREFIX references.
Browse files Browse the repository at this point in the history
  • Loading branch information
reid-wagner committed Jul 9, 2024
1 parent 5732dfa commit 68fb04a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tools/fragpipe/fragpipe.xml
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@
--ram \$[ \${GALAXY_MEMORY_MB:-8192} / 1024 ]
--workflow fp.workflow --manifest fp.manifest
--workdir outputs
--config-msfragger \${CONDA_PREFIX}/share/msfragger-*/MSFragger-*/MSFragger-*.jar
--config-msfragger \${env_location}/share/msfragger-*/MSFragger-*/MSFragger-*.jar
--config-philosopher \$(which philosopher)
--config-python \$(which python)
--config-ionquant \${CONDA_PREFIX}/share/ionquant-*/IonQuant.jar &&
--config-ionquant \${env_location}/share/ionquant-*/IonQuant.jar &&
@PREPARE_OUTPUTS@
#end if
Expand Down
3 changes: 2 additions & 1 deletion tools/fragpipe/macros.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@
Prepares enviroment variables for FragPipe.
-->
<token name="@PREPARE_ENVIRONMENT@"><![CDATA[
cp -r \${CONDA_PREFIX}/share/fragpipe*/ fragpipe_local/ &&
env_location="\$(dirname \$(which philosopher))/.." &&
cp -r \${env_location}/share/fragpipe*/ fragpipe_local/ &&
mkdir .cache .config tmp &&
export XDG_CONFIG_HOME=\$(pwd)/.config &&
export XDG_CACHE_HOME=\$(pwd)/.cache &&
Expand Down

0 comments on commit 68fb04a

Please sign in to comment.