Skip to content

Commit 5bee815

Browse files
committed
d
1 parent 446a980 commit 5bee815

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

project/stat_modules/sequtils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def add_seq_error(pos, haps, length_bp, perfixder):
4343
ix = bisect_left(pos_ls, mp)
4444
pos_ls.insert(ix, mp)
4545
haps = np.insert(haps, ix, mon_err[:, i], axis=1)
46-
print(f"{er1}\t{np.sum(seg_err)}\t{np.sum(mon_err)}\t{der_err}")
46+
#print(f"{er1}\t{np.sum(seg_err)}\t{np.sum(mon_err)}\t{der_err}")
4747
return np.array(pos_ls), haps
4848

4949

project/stat_modules/sumstats.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,10 @@ def FST(self):
227227
for p1, p2 in combinations(self.stats["pop_config"], 2):
228228
gtpops = gt.take(p1+p2, axis=1)
229229
flt = pwpopstats.fst(len(p1), pos, gtpops, quants)
230-
stats_ls.extend(flt)
230+
try:
231+
stats_ls.extend(flt)
232+
except TypeError:
233+
breakpoint()
231234
return stats_ls
232235

233236
def dXY(self):

0 commit comments

Comments
 (0)