Skip to content

Commit

Permalink
Fix Bin filtering to match FBA
Browse files Browse the repository at this point in the history
  • Loading branch information
78Alpha authored Nov 11, 2020
1 parent 146b2a7 commit 9dab255
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Applications/BinFilterOPT.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
_C_BIN_FORMAT_REGEX_ = re.compile("^P-[0-9]-[A-Z]{1}[0-9]{3}[A-Z]{1}[0-9]{3}$")
_C_POD_ID_REGEX_ = re.compile("^HB05[0-9]{9}")
_C_BIN_LABEL_REGEX_ = re.compile("^[0-9]{1}[A-Z]{1}")
_C_SPLIT_BY_: list = ["\t", " \t"]
_C_SPLIT_BY_: list = [" \t", "\t"]
_C_FACE_REGEX_ = re.compile("^[A-Z]{1}")


Expand Down Expand Up @@ -41,4 +41,3 @@ def userInputAsBin(initial, binRegex=_C_BIN_FORMAT_REGEX_):
def getFaces(initial, faceRegex=_C_FACE_REGEX_):
faceArray = [face for face in initial if faceRegex.match(face) and len(face) == 1]
return faceArray

0 comments on commit 9dab255

Please sign in to comment.