com1DFA.com1DFATools.compareSimCfgToDefaultCfgCom1DFA

compareSimCfgToDefaultCfgCom1DFA(simCfg, module=avaframe.com1DFA.com1DFA)[source]

Compares the given simulation configuration (as dict) to the default com1DFA configuration. Disregards values like avalancheDir that are expected to change. Returns True if it is the default + an identifier string: D = Default and C = Changed

Parameters
  • simCfg (dict) – simulation configuration

  • module (module) – module to be used for task (optional)

Returns

defaultIdentifierString – D if default and C if changed

Return type

str