[Bug] Appending to Defaults List via command line doesn't work if config is in subfolder #2935
Open
2 tasks done
Labels
bug
Something isn't working
🐛 Bug
Description
When overriding config groups in the terminal, hydra interprets them as being in the global package.
This has been stated in different issues:
However, this doesn't seem to work when appending to configs loaded via
--config-name=subfolder/config_name
.Hydra takes the given override as a relative path and fails to append it (see below for minimal example)
Checklist
To reproduce
Stack trace/error message:
Expected Behavior
Appending treats the given config as a global package, just like when overriding.
The following command should work instead of resulting in an error:
> python main.py --config-name=server/alpha +db@db_2=postgresql db: driver: mysql user: omry password: secret name: alpha db_2: driver: postgresql user: postgres_user password: drowssap timeout: 10
System information
The text was updated successfully, but these errors were encountered: