locscale.convert module

locscale.convert.convertBinaryVol(vol, outputDir)[source]

Convert binary volume to a mrc format. Params:

vol: input volume object to be converted. outputDir: where to put the converted file(s)

Return:

new file name of the volume (converted or not).

locscale.convert.getEmanPythonProgram(program)[source]
locscale.convert.getEmanVersion()[source]

Returns a valid eman version installed or an empty string.

locscale.convert.getSupportedEmanVersions()[source]

LocScale needs eman to work.

locscale.convert.getSupportedVersions()[source]
locscale.convert.getVersion()[source]
locscale.convert.validateEmanVersion(errors)[source]

Validate if eman version is set properly according to installed version and the one set in the config file. Params:

protocol: the input protocol calling to validate errors: a list that will be used to add the error message.