Skip to content

Commit

Permalink
simplifyFragment/ArtifactData: remove messages about some records mis…
Browse files Browse the repository at this point in the history
…sing data (this is common/expected)
  • Loading branch information
brownag committed Sep 25, 2024
1 parent 36cc055 commit ada6368
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion R/simplifyArtifactData.R
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ simplifyArtifactData <- function(art, id.var, vol.var = "huartvol", nullFragsAre
return(dat)
} else if (any(is.na(art[[vol.var]]))) {
art <- art[which(!is.na(art[[vol.var]])), ]
message('NOTE: some records are missing artifact volume')
# message('NOTE: some records are missing artifact volume')
}

# extract classes
Expand Down
2 changes: 1 addition & 1 deletion R/simplifyFragmentData.R
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ simplifyFragmentData <- function(rf, id.var, vol.var = "fragvol", prefix = "frag
return(dat)
} else if (any(is.na(rf[[vol.var]]))) {
rf <- rf[which(!is.na(rf[[vol.var]])), ]
message(sprintf('NOTE: some records are missing %s', msg))
# message(sprintf('NOTE: some records are missing %s', msg))
}

# extract classes
Expand Down

0 comments on commit ada6368

Please sign in to comment.