ANTsX / ANTsR

R interface to the ANTs biomedical image processing library
https://antsx.github.io/ANTsR
Apache License 2.0
127 stars 35 forks source link

BUG: Avoid error when initial transform contains multiple files #397

Closed cookpa closed 6 months ago

cookpa commented 6 months ago

Fixes #389

Also refactored a bit for readability, changing a block of the form

if (not error) {

  # hundreds of lines

}
else {
  stop("error")
}

to

if (error) {
  stop("error")
}
# rest of code