Closed ieivanov closed 1 year ago
Nice find! Thanks @ieivanov.
I think I can pick up from here and also forbid extra top-level parameters.
That do you mean by extra top level parameters? The acquisition is designed such that if the user does not provide channel settings they would be left blank. There is a danger of the user misspelling lf_channel_settings, I guess. But I think at this point we don't need to be that thorough.
On Tue, Aug 1, 2023, 6:26 PM Talon Chandler @.***> wrote:
Nice find! Thanks @ieivanov https://github.com/ieivanov.
I think I can pick up from here and also forbid extra top-level parameters.
— Reply to this email directly, view it on GitHub https://github.com/czbiohub-sf/mantis/pull/73#issuecomment-1661325282, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC3BXKCYJCT4SQNIWWVKJF3XTGUFFANCNFSM6AAAAAA3AQX3CI . You are receiving this because you were mentioned.Message ID: @.***>
Sounds good...I skipped the top level parameters. I couldn't see a path that didn't break backwards compatibility.
I did a quick skim through and added some slightly tighter types. Otherwise, LGTM!
@talonchandler can you please apply this config to the analysis settings as well and add tests? I'll take a closer look at the acquisition settings tests
@ieivanov good call. Fixed!
Ready to merge, I think, can I get an approval?
Fixed #40