An instance of this class represents a particular specification for converting some original data (in some given format) to the SKIRT stored table format, and it provides facilities to actually perform the specified conversion by calling upon the appropriate functionality outside this module. More...
Public Member Functions | |
def | __init__ (self, inputPath, outputPath) |
The constructor remembers the specified input and output paths. More... | |
def | perform (self) |
This function performs the conversion specified for this instance. More... | |
Private Attributes | |
_inputPath | |
_name | |
_outputPath | |
An instance of this class represents a particular specification for converting some original data (in some given format) to the SKIRT stored table format, and it provides facilities to actually perform the specified conversion by calling upon the appropriate functionality outside this module.
The conversion specification is read from the "ConversionSpec.txt" text file in a particular subdirectory of the SKIRTresources directory hierarchy. The specification file must contain one or more sequences of exactly three lines:
Because the filename arguments are separated by spaces, individual file names cannot contain spaces.
def pts.storedtable.conversionspec.ConversionSpec.__init__ | ( | self, | |
inputPath, | |||
outputPath | |||
) |
The constructor remembers the specified input and output paths.
The input path specifies the directory in which the "ConversionSpec.txt" file resides. The output path specifies the global root of the output hierarchy.
def pts.storedtable.conversionspec.ConversionSpec.perform | ( | self | ) |
This function performs the conversion specified for this instance.