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

Proper method for preventing default inheritance #118

Open
natefoo opened this issue Nov 16, 2023 · 1 comment
Open

Proper method for preventing default inheritance #118

natefoo opened this issue Nov 16, 2023 · 1 comment

Comments

@natefoo
Copy link
Member

natefoo commented Nov 16, 2023

From Matrix:

@nuwang

There's no way currently to stop it from inherting the default I believe. So you could try setting env: [] explicitly on _conda_local, but that may or may not work

@natefoo

Yeah, things are working as I have them now (by making the upload and data source tools have their own rule on the default tool) but it does seem like some way to prevent the default inheritance would be ideal.

@nuwang

Looking at the code, setting inherits to an empty string may work
But yeah, we should probably add that if not

I can confirm that setting inherits to an empty string does indeed work, but as discussed, a proper method (YAML null?) would be preferable.

@natefoo
Copy link
Member Author

natefoo commented Nov 16, 2023

I spoke too soon about the empty string working, I just didn't notice in my initial testing since the tools I tested with have scheduling tags that prevent them from running on destinations with Singularity params set, but other things from the default tool rules like the container_override are still being set.

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