com1DFA.com1DFA.getModuleNames
- getModuleNames(module)[source]
Extract module name and short form by checking the call stack for wrapper modules.
This function checks if we’re being called from a wrapper module (e.g., com5SnowSlide, com6RockAvalanche) by inspecting the call stack. If found, it uses the wrapper’s name. Otherwise, it falls back to the passed module parameter.
- Parameters
module (module) – The module object to extract names from (fallback if no wrapper is found)
- Returns
(modName, modNameShort) where modName is the full name (e.g., “com1DFA”) and modNameShort is the short form (e.g., “com1”)
- Return type
tuple