Commit 8c4ec88
committed
fix get_supported_channels for single-channel instruments
Instruments without `channels:` in config.yaml (HERMES, and the
defaults base) had get_supported_channels() returning None, causing
test_channelinfo / test_sort_files to fail on `for channel in None`.
CRIRES_PLUS and METIS_IFU avoided it by overriding the method;
the base class now falls back to [None] so the single-channel case
iterates once with channel=None.1 parent 8476395 commit 8c4ec88
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
892 | 892 | | |
893 | 893 | | |
894 | 894 | | |
895 | | - | |
| 895 | + | |
| 896 | + | |
| 897 | + | |
896 | 898 | | |
897 | 899 | | |
898 | 900 | | |
| |||
0 commit comments