140f9765f4c4f5165fd546bea30b2c473b9abb10,skll/utilities/join_features.py,,main,#Any#,23

Before Change



    // make sure all the files are in the same format except libsvm files
    input_extension_set = list(set(input_extensions))
    if len(input_extension_set) > 1 or input_extension_set[0] not in valid_extensions:
        logger.error(("All input files must be in the same format: .arff, .csv, .jsonlines, "
                      ".megam, .ndj, or .tsv format."))
        sys.exit(1)

After Change


    logger = logging.getLogger(__name__)

    // all extensions except .libsvm can be processed
    valid_extensions = {ext for ext in EXT_TO_READER if ext != ".libsvm"}

    // make sure the input file extensions are those we can process
    input_extension_set = {os.path.splitext(inf)[1].lower() for inf in
                           args.infile}
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: EducationalTestingService/skll
Commit Name: 140f9765f4c4f5165fd546bea30b2c473b9abb10
Time: 2014-11-07
Author: dblanchard@ets.org
File Name: skll/utilities/join_features.py
Class Name:
Method Name: main


Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: 15ab42d1805968cdf5e9b8051eeacb192a4efa98
Time: 2016-05-25
Author: ehankland@google.com
File Name: perfkitbenchmarker/providers/gcp/gcp_bigtable.py
Class Name: GcpBigtableCluster
Method Name: _Exists


Project Name: Pinafore/qb
Commit Name: 7656aa73d5965d4b692fbcb321e2defc6bb0c16c
Time: 2017-02-19
Author: ski.rodriguez@gmail.com
File Name: wiki_network/prepare_data.py
Class Name:
Method Name: preprocess_titles