Make sure conda environment is used by default in SCimilarity image#1311
Merged
allyhawkins merged 2 commits intoAlexsLemonade:mainfrom Aug 27, 2025
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is a fix to hopefully help with the issues I'm seeing in AlexsLemonade/OpenScPCA-nf#175 where the scripts are being run in the image container without using the conda environment when running in Nextflow. This adds the path to the conda environment to
PATHand tells the image to use the conda environment by default, even when not running interactively.I built the image locally and did a test run with
OpenScPCA-nfwhere I just printed out the Python version and made sure it could load theanndatamodule and it works so I think this should be good 🤞