summaryrefslogtreecommitdiff
path: root/bucket-lines/bucket.go
diff options
context:
space:
mode:
authorNick White <git@njw.name>2019-01-25 17:38:33 +0000
committerNick White <git@njw.name>2019-01-25 17:38:33 +0000
commita05e986286efe9168ea404729652650086bab4cc (patch)
tree461fa4370ec919b612703d1e95c757176d31dae1 /bucket-lines/bucket.go
parent40c1e4956c0f4cd2c5f139aba7cb7bc04c57fc0f (diff)
Use consistent naming for .prob and .hocr OcrName
Diffstat (limited to 'bucket-lines/bucket.go')
-rw-r--r--bucket-lines/bucket.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/bucket-lines/bucket.go b/bucket-lines/bucket.go
index db87418..bf25405 100644
--- a/bucket-lines/bucket.go
+++ b/bucket-lines/bucket.go
@@ -51,7 +51,7 @@ func bucketLine(l line.Detail, buckets BucketSpecs, dirname string) (string, err
avgstr = avgstr[2:]
}
- base := filepath.Join(dirname, todir, filepath.Base(l.OcrName) + "_" + l.Name + "_" + avgstr)
+ base := filepath.Join(dirname, todir, l.OcrName + "_" + l.Name + "_" + avgstr)
err := os.MkdirAll(filepath.Join(dirname, todir), 0700)
if err != nil {