Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

move .conda to $SNK_HOME #38

Open
Wytamma opened this issue Jul 28, 2023 · 4 comments
Open

move .conda to $SNK_HOME #38

Wytamma opened this issue Jul 28, 2023 · 4 comments

Comments

@Wytamma
Copy link
Owner

Wytamma commented Jul 28, 2023

Stop editable packages from being polluted with .conda folder by moving CONDA_PREFIX to $SNK_HOME/conda/<pipeline_name>

@Wytamma
Copy link
Owner Author

Wytamma commented Jan 29, 2024

This doesn't work with package pipelines. $SNK_HOME/conda/<pipeline_name> doesn't exist if you install from pip. So conda/singularity envs wont be deleted when the package is uninstalled. For now I've move conda envs to .snakemake to prevent polluting editable workflows.

@Wytamma
Copy link
Owner Author

Wytamma commented Mar 6, 2024

Probably need a check to see if workflow package as when you're developing the package workflow having conda in the package can cause issues i.e. building the package with conda env can break things because of files sizes

@Wytamma
Copy link
Owner Author

Wytamma commented Mar 6, 2024

Only to to check if it's editable i.e. pip install . -e editable

@Wytamma
Copy link
Owner Author

Wytamma commented Mar 6, 2024

might want to keep .snakemake when editable otherwise conda envs will be deleted

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant