76fbdeb701f78559e08b63c77f62a677d068314a,theanolm/commands/decode.py,,decode,#,115

Before Change



    // Combine paths from command line and lattice list.
    lattices = args.lattices
    lattices.extend(args.lattice_list.readlines())
    lattices = [path.strip() for path in lattices]
    // Ignore empty lines in the lattice list.
    lattices = list(filter(None, lattices))
    // Pick every Ith lattice, if --num-jobs is specified and > 1.

After Change



    // Combine paths from command line and lattice list.
    lattices = args.lattices
    if not args.lattice_list is None:
        lattices.extend(args.lattice_list.readlines())
    lattices = [path.strip() for path in lattices]
    // Ignore empty lines in the lattice list.
    lattices = list(filter(None, lattices))
    // Pick every Ith lattice, if --num-jobs is specified and > 1.
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: senarvi/theanolm
Commit Name: 76fbdeb701f78559e08b63c77f62a677d068314a
Time: 2017-01-12
Author: seppo.git@marjaniemi.com
File Name: theanolm/commands/decode.py
Class Name:
Method Name: decode


Project Name: tensorpack/tensorpack
Commit Name: e68eec29ab5d7d58cf88068b1211d0fe6a1df904
Time: 2019-09-04
Author: ppwwyyxx@users.noreply.github.com
File Name: scripts/dump-model-params.py
Class Name:
Method Name:


Project Name: ericmjl/pyjanitor
Commit Name: b0fb192a73f5a6a71e9af3e988bc3b0de32c5227
Time: 2020-03-23
Author: sean.meling@gmail.com
File Name: janitor/functions.py
Class Name:
Method Name: select_columns