Skip to content
Snippets Groups Projects
Commit d7a9f33d authored by David Schäfer's avatar David Schäfer
Browse files

[FIX] add missing positional flags and fix default masking

parent e0477c3c
No related branches found
No related tags found
No related merge requests found
Pipeline #39074 passed with stage
in 2 minutes and 25 seconds
......@@ -26,7 +26,15 @@ class PositionalTranslator(Translator):
Implements the translation from and to the flagging scheme implemented by CHS
"""
_FORWARD: ForwardMap = {0: UNFLAGGED, 1: DOUBTFUL, 2: BAD}
TO_MASK = DOUBTFUL + 1
_FORWARD: ForwardMap = {
-6: UNFLAGGED,
-5: UNFLAGGED,
0: UNFLAGGED,
1: DOUBTFUL,
2: BAD,
}
_BACKWARD: BackwardMap = {
UNTOUCHED: 0,
UNFLAGGED: 0,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment