You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Someday it might be nice to have an export to DICOM or NIFTI formats. We could realize that with a package extension on the respective Julia packages (and/or FileIO). In the main package we could then add an export/save function which checks the file ending and collects all implemented file extensions.
This way we can't add new export options outside of MPIFiles and have to manually update the export/save function but I'm not sure that we can rely on the other packages to always define a nice basic type to dispatch on
functionexport(mdf, file)
extensions =filter(!isnothing, [Base.get_extension(MPIFiles, :MPIFilesDICOM), ...])
# schaut welche matcht
ext =...# Export
result = ext.export(mdf, file)
end