save_config, with config, and ingredients
See original GitHub issueIt is very convenient to
./run.py save_config with x=123
./run.py with config.json
but this does not work with ingredients
./run.py save_config with x=123 data.y=123
./run.py with config.json
(data is an ingredient)
resulting in
KeyError: 'Added a new config entry "data.y" that is not used anywhere'
This is probably because you cannot override ingredient config values in the main experiment config (or at least I don’t know how to do it).
Issue Analytics
- State:
- Created 7 years ago
- Comments:5
Top Results From Across the Web
SAVECONFIG - NovAtel Documentation Portal
This configuration is saved in Non-Volatile Memory (NVM) and is executed every time the receiver starts, whether by power-up or the RESET command....
Read more >Cisco Wireless Controller Configuration Guide, Release 8.5
The following are some examples of the corresponding commands: save config—Saves the configuration from volatile RAM to NVRAM without resetting ...
Read more >How To Backup Configuration Files From /intflash To TFTP ...
To save config file from /intflash to remote server: Type enable; Type save config file <SERVER_IP-ADDR>:<FILENAME>. Example:
Read more >Working with Configuration Files | SpigotMC
As for saving, for custom configurations, you need to call FileConfiguration#save(File) (which saveConfig() does under the hood for config.yml) ...
Read more >17.12. Saving and Restoring the Network Configuration
This file can then be used to restore the network settings to a Red Hat Enterprise Linux system. This feature can be used...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I agree, and in fact, If you are adventurous you can check out the
feature/universal_named_configs
branch where I started fixing this. The problem is that named configs of the main experiment can’t set config values for ingredients. And using config files behaves as named configs. This is high on my list, but might take till after my vacation.This should work in the current version of sacred.