You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This will install the default choices, with the exception of the above four components, whose attributeSetting are all set to zero.
To reproduce these choices with ChoicesXMLGenerator, I would need to specify the other components as desired, which to me seems less resilient and more prone to failure if new components are added to subsequent software versions.
Ideally, the choices argument would allow eithersetting the attributeSetting to either true (1) or false (0), and would leave at the default if unspecified. A dictionary would work for this, since the choice identifiers should be unique anyway. Like so:
HI, for some reason I only just saw this. I kind of see your point though I'm not sure I agree that setting the desired choices is less resilient. If some new component is added, I still want my original choices to stand, at least until that new component is evaluated. But then, for the two times I've used this processor, I explicitly want to select desired choices, not deselect some. The dictionary method seems reasonably sensible though. I'll try and look into it.
I'd like to be able to use ChoicesXMLGenerator to designate which choices I don't want to install. For example:
This will install the default choices, with the exception of the above four components, whose
attributeSetting
are all set to zero.To reproduce these choices with ChoicesXMLGenerator, I would need to specify the other components as desired, which to me seems less resilient and more prone to failure if new components are added to subsequent software versions.
Ideally, the choices argument would allow eithersetting the
attributeSetting
to either true (1
) or false (0
), and would leave at the default if unspecified. A dictionary would work for this, since the choice identifiers should be unique anyway. Like so:Thanks for considering!
The text was updated successfully, but these errors were encountered: