@@ -3,8 +3,8 @@ process MSRESCORE_FEATURES {
33 label ' process_high'
44
55 container " ${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
6- 'oras://ghcr.io/bigbio/quantms-rescoring-sif:0.0.14 ' :
7- 'ghcr.io/bigbio/quantms-rescoring:0.0.14 ' } "
6+ 'oras://ghcr.io/bigbio/quantms-rescoring-sif:0.0.15 ' :
7+ 'ghcr.io/bigbio/quantms-rescoring:0.0.15 ' } "
88
99 input:
1010 tuple val(meta), path(idxml), path(mzml), path(model_weight), val(search_engine)
@@ -91,20 +91,6 @@ process MSRESCORE_FEATURES {
9191 }
9292
9393 """
94- # Fix for UID-less environments (GitHub Actions, OpenShift, etc.)
95- # where pwd.getpwuid() fails because the running UID has no /etc/passwd entry.
96- # Python's getpass.getuser() calls getpwuid() only when USER env var is unset.
97- if [ -w /etc/passwd ]; then
98- echo "\$ {USER:-quantms}:x:\$ (id -u):\$ (id -g):\$ {USER:-quantms} user:/tmp:/bin/bash" >> /etc/passwd
99- fi
100- export USER="\$ {USER:-quantms}"
101- export LOGNAME="\$ {LOGNAME:-\$ {USER:-quantms}}"
102- export LNAME="\$ {LNAME:-\$ {USER:-quantms}}"
103- export USERNAME="\$ {USERNAME:-\$ {USER:-quantms}}"
104- export HOME="\$ {HOME:-\$ PWD}"
105- export TORCHINDUCTOR_CACHE_DIR="\$ {TORCHINDUCTOR_CACHE_DIR:-\$ PWD/.torchinductor_cache}"
106- mkdir -p "\$ TORCHINDUCTOR_CACHE_DIR"
107-
10894 rescoring msrescore2feature \\
10995 --idxml $idxml \\
11096 --mzml $mzml \\
0 commit comments