Skip to content

Commit fffdefa

Browse files
committed
removing plotCov option - and with it a bunch of dependencies - so that groot can get back into conda. Also bumps version patch
1 parent 242ba69 commit fffdefa

File tree

8 files changed

+24
-87
lines changed

8 files changed

+24
-87
lines changed

cmd/report.go

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
package cmd
2222

2323
import (
24-
"errors"
2524
"fmt"
2625
"log"
2726
"os"
@@ -37,7 +36,6 @@ import (
3736
var (
3837
bamFile *string // a BAM file to generate report from
3938
covCutoff *float64 // breadth of coverage theshold
40-
plotCov *bool // keeps the coverage plots for each annotated gene
4139
lowCov *bool // reports ARGs which don't have 5' or 3' coverage
4240
)
4341

@@ -49,9 +47,7 @@ var reportCmd = &cobra.Command{
4947
5048
This will report gene, read count, gene length, coverage cigar to STDOUT as tab separated values.
5149
52-
Coverage cigar is present to help debug and indicates if the reference gene is covered (M) or not (D).
53-
54-
This command also prints a coverage plot for each gene (--plotCov flag)`,
50+
Coverage cigar is present to help debug and indicates if the reference gene is covered (M) or not (D).`,
5551
Run: func(cmd *cobra.Command, args []string) {
5652
runReport()
5753
},
@@ -64,7 +60,6 @@ func init() {
6460
RootCmd.AddCommand(reportCmd)
6561
bamFile = reportCmd.Flags().String("bamFile", "", "BAM file generated by groot alignment (will use STDIN if not provided)")
6662
covCutoff = reportCmd.Flags().Float64P("covCutoff", "c", 0.97, "coverage cutoff for reporting ARGs")
67-
plotCov = reportCmd.Flags().Bool("plotCov", false, "plots coverage of each reported ARG (saves to ./groot-plots/)")
6863
lowCov = reportCmd.Flags().Bool("lowCov", false, "reports ARGs which don't have 5' or 3' coverage (overrides -c option)")
6964
}
7065

@@ -118,15 +113,6 @@ func runReport() {
118113
log.Printf("\tcoverage cutoff: %.2f", *covCutoff)
119114
log.Printf("\tprocessors: %d", *proc)
120115
bamReader := reporting.NewBAMreader()
121-
if *plotCov == true {
122-
bamReader.Plot = true
123-
// setup the plot dir
124-
if _, err := os.Stat("./groot-plots"); os.IsNotExist(err) {
125-
if err := os.MkdirAll("./groot-plots", 0700); err != nil {
126-
log.Fatal(errors.New("can't create a ./groot-plots directory"))
127-
}
128-
}
129-
}
130116
if *bamFile != "" {
131117
bamReader.InputFile = *bamFile
132118
}

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
# The short X.Y version
3333
version = '1.0'
3434
# The full version, including alpha/beta/rc tags
35-
release = '1.0.0'
35+
release = '1.0.2'
3636

3737

3838
# -- General configuration ---------------------------------------------------

docs/tutorial.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,8 @@ ls *.bam | parallel --gnu "groot report --bamFile {} -c 1 --plotCov > {/.}.repor
205205
- `-c 1` tells groot to only report ARGs that have been entirely covered by reads, I.E. a full-length,100% identity match
206206
- `--plotCov` tells groot to generate coverage plots for each ARG it reports
207207

208+
> NOTE: `--plotCov` was removed after v.1.0.0 as it relied on a library that could not be packaged for conda. Hopefully I can add it back in soon.
209+
208210
We have now generated a resistome profile for each sample, using only full-length ARG sequences (present in the ARG-ANNOT database). We can sum rural/urban resistome profiles with a little bash loop to combine reports:
209211

210212
```bash

docs/using-groot.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,4 +135,3 @@ Flags explained:
135135
Some more flags that can be used:
136136

137137
- `--lowCov`: overrides `c` option and will report ARGs which may not be covered at the 5'/3' ends
138-
- `--plotCov`: outputs coverage plot for each ARG reported

go.mod

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ module github.com/will-rowe/groot
33
go 1.14
44

55
require (
6-
github.com/adam-hanna/arrayOperations v0.2.6
76
github.com/biogo/biogo v1.0.2
87
github.com/biogo/hts v1.1.0
98
github.com/dgryski/go-minhash v0.0.0-20190315135803-ad340ca03076 // indirect
@@ -15,5 +14,4 @@ require (
1514
github.com/spf13/pflag v1.0.5
1615
github.com/will-rowe/gfa v0.0.0-20190502084819-05c93955478b
1716
github.com/will-rowe/ntHash v0.0.0-20190624153018-541592fc7931
18-
gonum.org/v1/plot v0.7.0
1917
)

go.sum

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,6 @@ dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7
33
github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
44
github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo=
55
github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU=
6-
github.com/adam-hanna/arrayOperations v0.2.6 h1:QZC99xC8MgUawXnav7bFMejs/dm7YySnDpMx3oZzz2Y=
7-
github.com/adam-hanna/arrayOperations v0.2.6/go.mod h1:iIzkSjP91FnE66cUFNAjjUJVmjyAwCH0SXnWsx2nbdk=
8-
github.com/ajstarks/svgo v0.0.0-20180226025133-644b8db467af h1:wVe6/Ea46ZMeNkQjjBW6xcqyQA/j5e0D6GytH95g0gQ=
9-
github.com/ajstarks/svgo v0.0.0-20180226025133-644b8db467af/go.mod h1:K08gAheRH3/J6wwsYMMT4xOr94bZjxIelGM0+d/wbFw=
106
github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc=
117
github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0=
128
github.com/armon/consul-api v0.0.0-20180202201655-eb2c6b5be1b6/go.mod h1:grANhF5doyWs3UAsr3K4I6qtAmlQcZDesFNEHPZAzj8=
@@ -35,8 +31,6 @@ github.com/dgryski/go-minhash v0.0.0-20190315135803-ad340ca03076/go.mod h1:VBi0X
3531
github.com/dgryski/go-sip13 v0.0.0-20181026042036-e10d5fee7954/go.mod h1:vAd38F8PWV+bWy6jNmig1y/TA+kYO4g3RSRF0IAv0no=
3632
github.com/ekzhu/lshensemble v1.1.0 h1:qxuckiF7m1ARGe8zxyqmzWFgpNVAsORbatF5XIj/oYc=
3733
github.com/ekzhu/lshensemble v1.1.0/go.mod h1:9O+7M8zbVXy2WMyTT0zgia+rsQXrX0gB9CihuFwwRK8=
38-
github.com/fogleman/gg v1.3.0 h1:/7zJX8F6AaYQc57WQCyN9cAIz+4bCJGO9B+dyW29am8=
39-
github.com/fogleman/gg v1.3.0/go.mod h1:R/bRT+9gY/C5z7JzPU0zXsXHKM4/ayA+zqcVNZzPa1k=
4034
github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo=
4135
github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04=
4236
github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8=
@@ -46,8 +40,6 @@ github.com/go-logfmt/logfmt v0.4.0/go.mod h1:3RMwSq7FuexP4Kalkev3ejPJsZTpXXBr9+V
4640
github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY=
4741
github.com/gogo/protobuf v1.1.1/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ=
4842
github.com/gogo/protobuf v1.2.1/go.mod h1:hp+jE20tsWTFYpLwKvXlhS1hjn+gTNwPg2I6zVXpSg4=
49-
github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0 h1:DACJavvAHhabrF08vX0COfcOBJRhZ8lUbR+ZWIs0Y5g=
50-
github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0/go.mod h1:E/TSTwGwJL78qG/PmXZO1EjYhfJinVAhrmmHX6Z8B9k=
5143
github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q=
5244
github.com/golang/groupcache v0.0.0-20190129154638-5b532d6fd5ef/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc=
5345
github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A=
@@ -69,12 +61,9 @@ github.com/grpc-ecosystem/go-grpc-middleware v1.0.0/go.mod h1:FiyG127CGDf3tlThmg
6961
github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0/go.mod h1:8NvIoxWQoOIhqOTXgfV/d3M/q6VIi02HzZEHgUlZvzk=
7062
github.com/grpc-ecosystem/grpc-gateway v1.9.0/go.mod h1:vNeuVxBJEsws4ogUvrchl83t/GYV9WGTSLVdBhOQFDY=
7163
github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ=
72-
github.com/inconshreveable/mousetrap v1.0.0 h1:Z8tu5sraLXCXIcARxBp/8cbvlwVa7Z1NHg9XEKhtSvM=
7364
github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8=
7465
github.com/jonboulle/clockwork v0.1.0/go.mod h1:Ii8DK3G1RaLaWxj9trq07+26W01tbo22gdxWY5EU2bo=
7566
github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w=
76-
github.com/jung-kurt/gofpdf v1.0.3-0.20190309125859-24315acbbda5 h1:PJr+ZMXIecYc1Ey2zucXdR73SMBtgjPgwa31099IMv0=
77-
github.com/jung-kurt/gofpdf v1.0.3-0.20190309125859-24315acbbda5/go.mod h1:7Id9E/uU8ce6rXgefFLlgrJj/GYY22cpxn+r32jIOes=
7867
github.com/kisielk/errcheck v1.1.0/go.mod h1:EZBBE59ingxPouuu3KfxchcWSUPOHkagtvWXihfKN4Q=
7968
github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck=
8069
github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ=
@@ -139,13 +128,9 @@ go.uber.org/zap v1.10.0/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q=
139128
golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4=
140129
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
141130
golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
142-
golang.org/x/exp v0.0.0-20180321215751-8460e604b9de/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
143-
golang.org/x/exp v0.0.0-20180807140117-3d87b88a115f/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
144131
golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
145132
golang.org/x/exp v0.0.0-20200119233911-0405dc783f0a/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4=
146-
golang.org/x/image v0.0.0-20180708004352-c73c2afc3b81/go.mod h1:ux5Hcp/YLpHSI86hEcLt0YII63i6oz57MZXIpbrjZUs=
147133
golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js=
148-
golang.org/x/image v0.0.0-20190802002840-cff245a6509b h1:+qEpEAPhDZ1o0x3tHzZTQDArnOixOzGD9HUJfcg0mb4=
149134
golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0=
150135
golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE=
151136
golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc=
@@ -173,15 +158,11 @@ golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7w
173158
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
174159
golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
175160
golang.org/x/tools v0.0.0-20180221164845-07fd8470d635/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
176-
golang.org/x/tools v0.0.0-20180525024113-a5b4c53f6e8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
177161
golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
178162
golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs=
179163
golang.org/x/tools v0.0.0-20191012152004-8de300cfc20a/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
180164
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
181165
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
182-
gonum.org/v1/gonum v0.0.0-20180816165407-929014505bf4/go.mod h1:Y+Yx5eoAFn32cQvJDxZx5Dpnq+c3wtXuadVZAcxbbBo=
183-
gonum.org/v1/plot v0.7.0 h1:Otpxyvra6Ie07ft50OX5BrCfS/BWEMvhsCUHwPEJmLI=
184-
gonum.org/v1/plot v0.7.0/go.mod h1:2wtU6YrrdQAhAF9+MTd5tOQjrov/zF70b1i99Npjvgo=
185166
google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM=
186167
google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc=
187168
google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c=
@@ -201,4 +182,3 @@ gopkg.in/yaml.v2 v2.0.0-20170812160011-eb3733d160e7/go.mod h1:JAlM8MvJe8wmxCU4Bl
201182
gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
202183
gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
203184
honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4=
204-
rsc.io/pdf v0.1.1/go.mod h1:n8OzWcQ6Sp37PL01nO98y4iUCRdTGarVfzxY20ICaU4=

src/reporting/reporting.go

Lines changed: 18 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -6,30 +6,22 @@ import (
66
"log"
77
"os"
88
"strconv"
9-
"strings"
109
"sync"
1110

1211
"github.com/biogo/hts/bam"
1312
"github.com/biogo/hts/bgzf"
1413
"github.com/biogo/hts/sam"
15-
16-
"gonum.org/v1/plot"
17-
"gonum.org/v1/plot/plotter"
18-
"gonum.org/v1/plot/plotutil"
19-
"gonum.org/v1/plot/vg"
2014
)
2115

2216
type annotation struct {
23-
arg string
24-
count int
25-
length int
26-
coverage plotter.XYs
27-
cigar string
17+
arg string
18+
count int
19+
length int
20+
cigar string
2821
}
2922

3023
type BAMreader struct {
3124
InputFile string
32-
Plot bool
3325
CoverageCutoff float64
3426
LowCov bool
3527
}
@@ -102,20 +94,25 @@ func (proc *BAMreader) Run() {
10294
wg.Add(1)
10395
go func(recs []*sam.Record, ref *sam.Reference, sendChan chan<- annotation) {
10496
defer wg.Done()
97+
10598
// coverageCheck tells us if all bases in the reference have been covered by a read
10699
coverageCheck := make(map[int]struct{})
100+
107101
// pileup contains coverage value for each base in the reference
108102
pileup := make([]int, ref.Len())
103+
109104
// for each record, move along the alignment and update reference coverage info
110105
for _, rec := range recs {
111106
recStart := rec.Start()
112107
recEnd := recStart + rec.Len()
108+
113109
// if the read goes beyond the reference, only go up to the last base of the ref
114110
if recEnd > len(pileup)-1 {
115111
recEnd = len(pileup) - 1
116112
}
117113

118114
for i := recStart; i <= recEnd; i++ {
115+
119116
// if this is the first time the base has been covered, update coverageCheck
120117
if _, ok := coverageCheck[i]; !ok {
121118
coverageCheck[i] = struct{}{}
@@ -128,19 +125,19 @@ func (proc *BAMreader) Run() {
128125
// check we have a fully covered reference
129126
pileupCoverage := float64(len(coverageCheck)) / float64(len(pileup))
130127
if pileupCoverage >= proc.CoverageCutoff {
128+
131129
// get the reference name (remove asterisk from cluster representative if it is present)
132130
refName := ref.Name()
133131
if refName[0] == 42 {
134132
refName = refName[1:]
135133
}
134+
136135
// represent pileup as a CIGAR-ish string (so can see what bases aren't covered)
137136
cigar := []string{}
137+
138138
// plot coverage for this gene using the pileup
139-
coverage := make(plotter.XYs, len(pileup))
140-
for i := range coverage {
141-
coverage[i].X = float64(i)
142-
coverage[i].Y = float64(pileup[i])
143-
if pileup[i] == 0 {
139+
for _, val := range pileup {
140+
if val == 0 {
144141
cigar = append(cigar, "D")
145142
} else {
146143
cigar = append(cigar, "M")
@@ -152,11 +149,10 @@ func (proc *BAMreader) Run() {
152149
}
153150
// create the annotation
154151
anno := annotation{
155-
arg: refName,
156-
count: len(records),
157-
length: ref.Len(),
158-
coverage: coverage,
159-
cigar: cleanCigar,
152+
arg: refName,
153+
count: len(records),
154+
length: ref.Len(),
155+
cigar: cleanCigar,
160156
}
161157
// send annotation on
162158
sendChan <- anno
@@ -173,30 +169,6 @@ func (proc *BAMreader) Run() {
173169
for anno := range reportChan {
174170
// print info to stdout
175171
fmt.Printf("%v\t%d\t%d\t%v\n", anno.arg, anno.count, anno.length, anno.cigar)
176-
177-
// this will clean up the ARG name so that we can use it as a filename
178-
var replacer = strings.NewReplacer("/", "__", "\t", "__")
179-
180-
// plot coverage for this gene
181-
if proc.Plot == true {
182-
covPlot, err := plot.New()
183-
if err != nil {
184-
panic(err)
185-
}
186-
covPlot.Title.Text = "coverage plot"
187-
covPlot.X.Label.Text = "position in gene"
188-
covPlot.Y.Label.Text = "coverage (number of reads at position)"
189-
err = plotutil.AddLinePoints(covPlot, anno.arg, anno.coverage)
190-
if err != nil {
191-
panic(err)
192-
}
193-
// clean the ARG name
194-
anno.arg = replacer.Replace(anno.arg)
195-
fileName := fmt.Sprintf("./groot-plots/coverage-for-%v.png", anno.arg)
196-
if err := covPlot.Save(8*vg.Inch, 8*vg.Inch, fileName); err != nil {
197-
panic(err)
198-
}
199-
}
200172
}
201173
}
202174

src/version/version.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ const major = 1
99
const minor = 0
1010

1111
// patch is the patch version number
12-
const patch = 1
12+
const patch = 2
1313

14-
// GetVersion() returns the full version string for the current GROOT software
14+
// GetVersion returns the full version string for the current GROOT software
1515
func GetVersion() string {
1616
return fmt.Sprintf("%d.%d.%d", major, minor, patch)
1717
}

0 commit comments

Comments
 (0)