Skip to content

environment changes not working as expected on standalone setups #912

Discussion options

You must be logged in to vote

I can confirm that I can reproduce the problem and I have a provisional solution for it.

The *environment_changes dictionaries can be indented into choose_ blocks as in your version switch. That works well for add_module_actions and add_export_vars because they are list expansion or dictionary merges, and the composition order of the information does not matter (if the last environment information expansion is the one that takes place in your switch it does not matter because we just want to add).

For variables (non lists/dictionaries) that can trigger choose blocks defined in the <computer>.yaml are treated different: esm_environment checks first if these variables have been define in some

Replies: 3 comments 7 replies

Comment options

You must be logged in to vote
1 reply
@mandresm
Comment options

Comment options

seb-wahl
Mar 8, 2023
Maintainer Author

You must be logged in to vote
5 replies
@mandresm
Comment options

@seb-wahl
Comment options

seb-wahl Mar 8, 2023
Maintainer Author

@mandresm
Comment options

@seb-wahl
Comment options

seb-wahl Mar 8, 2023
Maintainer Author

@mandresm
Comment options

Comment options

You must be logged in to vote
1 reply
@seb-wahl
Comment options

seb-wahl Mar 9, 2023
Maintainer Author

Answer selected by seb-wahl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants