96327941cae1c7eca3c44fb532b9eb224259c210,bin/basenji_hdf5_genes.py,,check_wigs,#Any#,356

Before Change


def check_wigs(target_wigs_file):
  for line in open(target_wigs_file):
    a = line.rstrip().split("\t")
    wig_file = a[1]
    if not os.path.isfile(wig_file):
      print("Cannot find %s" % wig_file, file=sys.stderr)
      exit(1)

After Change



////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
def check_wigs(target_wigs_file):
  target_wigs_df = pd.read_table(target_wigs_file)
  for wig_file in target_wigs_df.file:
    if not os.path.isfile(wig_file):
      print("Cannot find %s" % wig_file, file=sys.stderr)
      exit(1)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: calico/basenji
Commit Name: 96327941cae1c7eca3c44fb532b9eb224259c210
Time: 2018-07-09
Author: drk@calicolabs.com
File Name: bin/basenji_hdf5_genes.py
Class Name:
Method Name: check_wigs


Project Name: calico/basenji
Commit Name: d1923b72a362758018f65b0568a73b012c23ed4c
Time: 2018-07-09
Author: drk@calicolabs.com
File Name: bin/basenji_test_genes.py
Class Name:
Method Name: main


Project Name: calico/basenji
Commit Name: 98b1fe8f5c1acccb31c10028bccaa797470279d2
Time: 2019-08-23
Author: drk@calicolabs.com
File Name: bin/basenji_map.py
Class Name:
Method Name: main