Skip to content

Commit

Permalink
drop two repeated entries in file extension lists
Browse files Browse the repository at this point in the history
The repeated entries in extrapolateCopyFilesFromExtensions lead to the
*_copied.json files listing the file twice.  As a result, 'clean
--copiedRuns ...` tries to remove the file twice, leading to a failure
(converted to a logged message as of the last commit, and silently
dropped before that).
  • Loading branch information
kyleam committed Aug 21, 2024
1 parent c271958 commit 4a7834c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions cmd/nonmem.go
Original file line number Diff line number Diff line change
Expand Up @@ -645,8 +645,6 @@ func extrapolateCopyFilesFromExtensions(filename string, level int) []string {
}

extensions[2] = []string{
".clt",
".coi",
".clt",
".coi",
".cpu",
Expand Down
2 changes: 0 additions & 2 deletions runner/consts.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,6 @@ func EstOutputFilesByRun(r string) map[string]int {
"_RMAT.msf",
}
fileExtsLvl2 := []string{
".clt",
".coi",
".clt",
".coi",
".cpu",
Expand Down

0 comments on commit 4a7834c

Please sign in to comment.