Skip to content

Commit

Permalink
bugfix, hardcoded UP ID
Browse files Browse the repository at this point in the history
  • Loading branch information
guoci committed Jul 4, 2022
1 parent a331e7d commit 880ace4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/dat/dat.go
Original file line number Diff line number Diff line change
Expand Up @@ -189,15 +189,14 @@ func (d *Base) Fetch(id, temp string, iso, rev bool) {
}

// add the proteome parameter
query = query + "query=proteome:UP000005640"
query = fmt.Sprintf("%squery=proteome:%s", query, id)

// is reviewed?
if rev {
query = query + "+AND+reviewed:true"
} else {
query = query + "+AND+reviewed:false"
}

client := resty.New()

// HTTP response gets saved into file, similar to curl -o flag
Expand Down

0 comments on commit 880ace4

Please sign in to comment.