edmundmiller commited on
Commit
ead4a32
·
unverified ·
1 Parent(s): ab67c98

fix: Adjust logging

Browse files
Files changed (1) hide show
  1. predict_chromosome.py +3 -4
predict_chromosome.py CHANGED
@@ -136,8 +136,8 @@ def predict_and_write(
136
  names=["chr", "start", "end", "anchor"],
137
  ) # read anchor list file
138
  start_time = time.time()
139
- print("anchor file")
140
- print(os.path.join(full_matrix_dir, input_name))
141
  chr_anchor_file = pd.read_csv(
142
  os.path.join(full_matrix_dir, input_name),
143
  delimiter="\t",
@@ -174,8 +174,7 @@ def predict_and_write(
174
  cols = np.vectorize(anchor_to_locus(anchor_dict))(
175
  chr_tile["anchor2"].values
176
  ) # convert anchor names to column indices
177
- print(chr_tile)
178
- logger.debug(chr_tile)
179
  sparse_matrix = csr_matrix(
180
  (chr_tile["ratio"], (rows, cols)),
181
  shape=(anchor_step, anchor_step),
 
136
  names=["chr", "start", "end", "anchor"],
137
  ) # read anchor list file
138
  start_time = time.time()
139
+ logger.info("anchor file")
140
+ logger.info(os.path.join(full_matrix_dir, input_name))
141
  chr_anchor_file = pd.read_csv(
142
  os.path.join(full_matrix_dir, input_name),
143
  delimiter="\t",
 
174
  cols = np.vectorize(anchor_to_locus(anchor_dict))(
175
  chr_tile["anchor2"].values
176
  ) # convert anchor names to column indices
177
+ logger.info(chr_tile)
 
178
  sparse_matrix = csr_matrix(
179
  (chr_tile["ratio"], (rows, cols)),
180
  shape=(anchor_step, anchor_step),