Skip to content
This repository has been archived by the owner on Jun 1, 2021. It is now read-only.

Commit

Permalink
confict
Browse files Browse the repository at this point in the history
  • Loading branch information
Crazy-Jack committed Jul 16, 2019
2 parents 328324f + f5e3182 commit 30b2a7a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cirDraw/tools/handle_file.py
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ def handle(config):

tmp_circ_len = Counter(circRNA_length).items()
circRNA_length_distribution = ujson.dumps({"x":[k for k in tmp_circ_len],
"y":[v for _,v in tmp_circ_len]})
"y":[v for _,v in tmp_circ_len]})

tmp_circRNA_isoform = sorted(circRNA_isoform, key=lambda x: x[1], reverse=True)[0:20]
circRNA_isoform = ujson.dumps({"x":[k for k in tmp_circRNA_isoform],
Expand All @@ -312,9 +312,9 @@ def handle(config):



return False,circRNA_length_distribution,circRNA_isoform
return True,circRNA_length_distribution,circRNA_isoform
except Exception as e:
print('Handle Error:', e)
return True,circRNA_length_distribution,circRNA_isoform
return False,circRNA_length_distribution,circRNA_isoform


0 comments on commit 30b2a7a

Please sign in to comment.