// 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.