micro-manager icon indicating copy to clipboard operation
micro-manager copied to clipboard

Add defaults or require mandatory inputs for configuration parameters

Open IshaanDesai opened this issue 9 months ago • 3 comments

Currently the JSON configuration input parameters do not have default values (at least some of them). The mandatory parameters need not have default values, but then must return exceptions when not set. A thorough overhaul of the configuration functionality is necessary.

IshaanDesai avatar Apr 02 '25 10:04 IshaanDesai

Could be a good fit to do this when moving to the preCICE adapter schema.

@IshaanDesai IIRC you looked into a schema for the non-preCICE part of the micro manager configuration already, right? You could define default values directly there.

uekerman avatar Apr 15 '25 11:04 uekerman

IIRC you looked into a schema for the non-preCICE part of the micro manager configuration already, right? You could define default values directly there.

Yes, I looked into creating a config schema for the Micro Manager. But it is not currently recommended or available for users. Shall we already do this?

IshaanDesai avatar Apr 25 '25 05:04 IshaanDesai

IMO, there is no harm in providing it somewhere if you have a draft already. The earlier we find problems with the preCICE adapter schema, the better.

uekerman avatar Apr 30 '25 13:04 uekerman