Did I find the right examples for you? yes no

All Samples(0)  |  Call(0)  |  Derive(0)  |  Import(0)
str(object='') -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.

src/c/o/CombiVEP-0.1.2/combivep/preproc/dataset.py   CombiVEP(Download)
    def load_data(self, file_name, file_type=combivep_settings.FILE_TYPE_VCF):
        if file_type == combivep_settings.FILE_TYPE_VCF:
            return self.__load_vcf_data(file_name)
        if file_type == combivep_settings.FILE_TYPE_CBV:
            return self.__load_cbv_data(file_name)

src/c/o/CombiVEP-0.1.2/combivep/app.py   CombiVEP(Download)
    argp.add_argument('input_file', help=' '.join(tmp_help))
    argp.add_argument('-F', help='Input format (%(choices)s). Default is in %(default)s format.', 
                            choices=[combivep_settings.FILE_TYPE_VCF, combivep_settings.FILE_TYPE_CBV], 
                            metavar='FORMAT', 
                            default=combivep_settings.FILE_TYPE_VCF,
    print >> sys.stderr, 'pre-processing dataset, this may take a while (around 750 SNPs/mins). . . . '
    dm = DataSetManager(config_file=config_file)
    dm.load_data(training_data_file, file_type=combivep_settings.FILE_TYPE_CBV)
    dm.validate_data()
    dm.calculate_scores()