Skip to content

Commit

Permalink
Pin pillow version and query conda for its base directory.
Browse files Browse the repository at this point in the history
Thanks: Leon Hafner
  • Loading branch information
charles-plessy committed Feb 1, 2025
1 parent 081ce6c commit ba2ddda
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions modules/nf-core/last/dotplot/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ channels:
- bioconda

dependencies:
- conda-forge::pillow=11.1.0
- bioconda::last=1608
3 changes: 2 additions & 1 deletion modules/nf-core/last/dotplot/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,9 @@ process LAST_DOTPLOT {
def annot_a_arg = annot_a ? "-a ${annot_a}" : ''
def annot_b_arg = annot_b ? "-b ${annot_b}" : ''
"""
CONDA_BASE=\$(conda info --base)
last-dotplot \\
-f /opt/conda/pkgs/pillow-11.1.0-py313h8db990d_0/info/test/Tests/fonts/FreeMono.ttf \\
-f \${CONDA_BASE}/pkgs/pillow-11.1.0-py313h8db990d_0/info/test/Tests/fonts/FreeMono.ttf \\
$args \\
$annot_a_arg \\
$annot_b_arg \\
Expand Down

0 comments on commit ba2ddda

Please sign in to comment.