BCHSI / philter-ucsf

Open source clinical text de-identification
BSD 3-Clause "New" or "Revised" License
111 stars 49 forks source link

"FutureWarning: Possible nested set at position 772 in file filters/regex/safe/hospital_safe.txt" #3

Closed kmuenzen closed 4 years ago

tschaffter commented 4 years ago

I also encountered this warning:

$ python3 main.py -i ./data/i2b2_notes/ -o ./data/i2b2_results/ -f ./configs/philter_delta.json --prod=True --outputformat=i2b2
FutureWarning: Possible nested set at position 772 in file filters/regex/safe/hospital_safe.txt
reading text from ./data/i2b2_notes/111-01.txt
reading text from ./data/i2b2_notes/110-04.txt
reading text from ./data/i2b2_notes/110-03.txt
reading text from ./data/i2b2_notes/110-02.txt
reading text from ./data/i2b2_notes/110-01.txt
kmuenzen commented 4 years ago

Resolved by removing extra brackets from hospital_safe.txt