This module provides the ability to create and initialize a new interval file (file 11) and survey file (file 12) and add them to an existing Project Control File.
addDHFiles(pcfPath, file11, file12, itemList, overwrite=0)
Adds a new interval and survey file to an existing Project Control File. A report file, "msg102.la", will be created in the project folder summarizing the results.
- Arguments:
- pcfPath : string
- The absolute path to the PCF file.
- file11 : string
- The filename of the generated assay file (typically named after the PCF).
- file12 : string
- The filename of the generated survey file (typically named after the PCF).
- itemList : list
- A list of tuples representing the interval items to be added to the file 11: (name, min, max, precision)
- overwrite : integer
- If set to 1, any existing files with the same name will be overwritten. Otherwise, an IOError will be raised if the files already exist.