PyPop.Main#

Python population genetics statistics.

Classes#

Main

Main interface to the PyPop modules.

Functions#

getConfigInstance([configFilename, altpath])

Create and return ConfigParser instance.

get_sequence_directory(directory_str[, debug])

Module Contents#

getConfigInstance(configFilename=None, altpath=None)#

Create and return ConfigParser instance.

Taken a specific .ini filename and an alternative path to search if no .ini filename is given.

get_sequence_directory(directory_str, debug=False)#
class Main(config=None, xslFilename=None, xslFilenameDefault=None, debugFlag=0, fileName=None, datapath=None, thread=None, outputDir=None, version=None, testMode=False)#

Main interface to the PyPop modules.

Given a config instance, which can be:

  • created from a filename passed from command-line argument or;

  • from values populated by the GUI (currently selected from an .ini file, but can ultimately be set directly from the GUI or values based from a form to a web server or the).

runs the specified modules.

getXmlOutPath()#
getTxtOutPath()#