Skip to content

Commit

Permalink
Fixed optical duplicate parameter passing in sfm mode.
Browse files Browse the repository at this point in the history
  • Loading branch information
caherzee committed Aug 19, 2020
1 parent 1a56c00 commit 1712531
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/sfm.go
Original file line number Diff line number Diff line change
Expand Up @@ -580,6 +580,8 @@ func Sfm() error {
if markOpticalDuplicates != "" {
metricsFile := path.Join(metricsDir, fileName)
fileFilterArgs = append(fileFilterArgs, []string{"--mark-optical-duplicates-intermediate", metricsFile}...)
opticalDuplicatesPixelDistanceString := strconv.FormatInt(int64(opticalDuplicatesPixelDistance), 10)
fileFilterArgs = append(fileFilterArgs, []string{"--optical-duplicates-pixel-distance", opticalDuplicatesPixelDistanceString}...)
}
filterCmd := exec.Command(os.Args[0], fileFilterArgs...)
filterCmd.Stderr = os.Stderr
Expand Down
2 changes: 2 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
module github.com/exascience/elprep/v4

go 1.14

require (
github.com/exascience/pargo v1.0.1
golang.org/x/exp v0.0.0-20190718202018-cfdd5522f6f6 // indirect
Expand Down

0 comments on commit 1712531

Please sign in to comment.