Ignore specific slices and directions

I’m processing some data in which the scanner gives an occasional artifact that hits a single slice (and single direction). Is there any way I can tell mrtrix to ignore those specific slicesxdirections in pre-processing? It’s not worth taking out the whole direction – it’s taking it out per slice.