File tree Expand file tree Collapse file tree 2 files changed +6
-7
lines changed
Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " bravue" ,
3- "version" : " 0.21.2 " ,
3+ "version" : " 0.21.3 " ,
44 "private" : true ,
55 "scripts" : {
66 "serve" : " vue-cli-service serve" ,
Original file line number Diff line number Diff line change @@ -106,12 +106,11 @@ export default {
106106 calc_pos_thresholds : function (start , stop ){
107107 let nbins = 200
108108 let x_step = Math .floor ( (stop - start) / nbins)
109- let result = Array (nbins- 1 )
110- .keys ()
111- .map ((b ) => start + (b+ 1 ) * x_step)
112- .toArray ()
113- return (result)
114-
109+ let bin_ends = Array (nbins- 1 )
110+ for (let i = 0 ; i < nbins - 1 ; i++ ){
111+ bin_ends[i] = x_step * (i+ 1 ) + start
112+ }
113+ return (bin_ends)
115114 },
116115 bin_data : function (eqtl_data , start , stop ){
117116 let pos_thresholds = this .calc_pos_thresholds (start, stop)
You can’t perform that action at this time.
0 commit comments