-
Notifications
You must be signed in to change notification settings - Fork 22
Description
I found that preprocessing routines fail when there is a dot in one of the "keys" of the preprocessing config.
Example: I was trying to run preproc_or_load_group. One of my entries in the config looked like
name: "atomic_info"
process:
noise_ratio_Q.rmean: rmeanQ
This caused an error on line 1118
sotodlib/sotodlib/preprocess/preprocess_util.py
Line 1118 in ff83638
| proc_aman.save(outputs_proc['temp_file'], outputs_proc['db_data']['dataset'], overwrite) |
It seems the problem is actually in get_pcfg_check_aman which is trying to save noise_ratio_Q.rmean as an AxisManager with the single entry rmeanQ. It successfully does this but later when you try to save the aman, it thinks noise_ratio_Q.rmean is looking for a child of another aman noise_ratio_Q and throws an error.
I've done a workaround (swapping the key/value in my pair the order didn't matter) but thought best to flag.