Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
lingfeiwang committed Nov 3, 2023
1 parent 4a46161 commit 0a3e1ac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-inference.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
matrix:
python-version: ["3.9","3.10"]
steps:
- uses: actions/checkout@v4.0.0
- uses: actions/checkout@v4
- name: Install
uses: ./.github/actions/install-bash
with:
Expand Down
2 changes: 1 addition & 1 deletion src/dictys/chromatin.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ def _motif_postproc(dret,fi_exp:str,fo_bed:str,fo_wellington:str,fo_homer:str)->
#Remove motifs having no TF in current dataset
t1=[not x.startswith('_') for x in namem]
dw,dh=[x[:,t1] for x in [dw,dh]]
namem,=namem[t1]
namem=namem[t1]
if len(namem)!=len(set(namem)):
from collections import Counter
t1=[x[0] for x in Counter(namem).items() if x[1]>1][:3]
Expand Down

0 comments on commit 0a3e1ac

Please sign in to comment.