fudge.core package

Subpackages

Submodules

fudge.core.ancestry module

fudge.core.fudgemisc module

This module contains useful top-level fudge routines that do not fit into any other module.

fudge.core.fudgemisc.checkMessagesToString(message, indentation=' ', subIndentation=' ')[source]
fudge.core.fudgemisc.findPythonFile(file)[source]

For internal use only.

fudge.core.fudgemisc.getFormat(self)[source]

Checks if self has a getFormat method. If it does not, then None is returned. If it does then: 1) if getFormat returns a string or None then it is returned else getFormat must return an integer, n1. If n1 is 12 (default for legacy ENDL) then None is returned else returns string ‘%n1.n2e’ where n2 = n1 - 7.

fudge.core.fudgemisc.printWarning(s)[source]
fudge.core.fudgemisc.readOnly()[source]

Sets Fudge’s internal readonly flag which causes fudge to not create working directories for the isotopes read in. Note, you cannot unset this flag once readOnly has been called.

fudge.core.fudgemisc.stringWithPrefixSuffix(list, Prefix='', Suffix='')[source]

For internal use only.

fudge.core.fudgemisc.verbose(mode=1)[source]

Sets Fudge’s internal verbose flag to mode. Mode = 0 suppress all informational messages.

Module contents