Skip to content

Commit

Permalink
[orientation] REJECT flipWhole if score does not improve (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
tanghaibao committed Aug 28, 2019
1 parent 570647d commit 1426a12
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion base.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import (

const (
// Version is the current version of ALLHIC
Version = "0.8.12"
Version = "0.9.8"
// LB is lower bound for GoldenArray
LB = 18
// UB is upper bound for GoldenArray
Expand Down
2 changes: 1 addition & 1 deletion cmd/allhic.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ func main() {

app := cli.NewApp()
app.Compiled = time.Now()
app.Copyright = "(c) Haibao Tang, Xingtan Zhang 2017-2018"
app.Copyright = "(c) Haibao Tang, Xingtan Zhang 2017-2019"
app.Name = "ALLHIC"
app.Usage = "Genome scaffolding based on Hi-C data"
app.Version = allhic.Version
Expand Down
2 changes: 1 addition & 1 deletion orientation.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ func (r *CLM) flipWhole() (tag string) {
}
newScore := r.EvaluateQ()
tag = ACCEPT
if newScore < score {
if newScore <= score {
copy(r.Signs, oldSigns) // Recover
tag = REJECT
}
Expand Down

0 comments on commit 1426a12

Please sign in to comment.