Skip to content

Commit

Permalink
Use argument for filename
Browse files Browse the repository at this point in the history
  • Loading branch information
pahatz committed Apr 29, 2024
1 parent f9fb069 commit 1218f68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htsget/htsget.go
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ func downloadFiles(htsgeURLs htsgetResponse, config *helpers.Config) (err error)
if outDir != nil && *outDir != "" {
currentPath = *outDir
}
out, err := os.OpenFile(currentPath+"/data.c4gh", os.O_CREATE|os.O_WRONLY, 0644)
out, err := os.OpenFile(currentPath+"/"+*fileName+".c4gh", os.O_CREATE|os.O_WRONLY, 0644)
if err != nil {
return err
}
Expand Down

0 comments on commit 1218f68

Please sign in to comment.