-
-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Labels
more-input-neededThis label indicates that this issue needs more discussion or +1/-1 to decide how and if to continueThis label indicates that this issue needs more discussion or +1/-1 to decide how and if to continue
Description
One minor, last thought I had while scrolling through the current setup for envfile.
Always having the --envfile "..." in the modulefile, even when it's not used, makes it quite less readable.
I was then wondering whether it should be made conditional?
...Actually I see it's already conditional in the modulefile templates: {% if envfile %}
.
So it's just about ensuring that envfile
is set to null if no envs are defined in the container yaml?
main/container/singularity.py: envfile=self.settings.environment_file,
main/container/docker.py: envfile=self.settings.environment_file,
Metadata
Metadata
Assignees
Labels
more-input-neededThis label indicates that this issue needs more discussion or +1/-1 to decide how and if to continueThis label indicates that this issue needs more discussion or +1/-1 to decide how and if to continue