Skip to content

fix bug in write.im3d/write.nrrd for raw detached nrrd #384

@jefferis

Description

@jefferis
> i=im3d(seq(3*4*5), dims = c(3,4,5))
> tfhdr=tempfile(fileext = '.nhdr')
> write.im3d(i, file = tfhdr, format='nrrd', enc='raw')
Error in ifelse(enc == "gzip", gzfile, file)(file, open = fmode) : 
  attempt to apply non-function

not sure why this didn't come up previously but looks like an ambiguity between the file argument and file function.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions