Add bad channel using partial name #709
Draft
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hello,
In nirs, sometime it can be useful to mark a detector, or a source as bad as we know from the acquisition that this detector or source was not well placed. Currently, to remove S1, for example, we have to write S1D1WL680, S1D1WL830, S1D2WL680, S1D2WL830, ... to list all the channels containing S1 which is awful :)
This allows to write S1 to remove all the channels using S1; or D1 for all the channels using D1; even S1D1 (instead of S1D1WL830, S1D1WL680).
This is however a bad fix as writing S1 would also remove S10. I'll try to find a better solution; unless you have an idea :)
Edouard