Closed mlweilert closed 4 years ago
You are right. Thanks for pointing this out. Can you try replacing if
with if not
on line 423 https://github.com/kundajelab/bpnet/blob/0cba2515c15589f8439876c3028ce177544ee9cb/bpnet/BPNet.py#L423?
tested it and it works fine! Just committed the change!
In
bpnet.BPNet.export_bw
def on lines 422-424, the assertion fails when you try to runbpnet export-bw
on a trained model, skipping all writing steps to the contrib.bw files.