MIC-DKFZ / HD-BET

MRI brain extraction tool
Apache License 2.0
283 stars 65 forks source link

Resolve SyntaxWarning for use of "is not" with a literal #27

Closed evertdeman closed 2 years ago

evertdeman commented 2 years ago

Resolves

/HD-BET-master/HD_BET/config.py:34: SyntaxWarning: "is not" with a literal. Did you mean "!="?

in Python >3.8

lassoan commented 2 years ago

I confirm that it works and that this change is required for HD-BET to work with Python-3.9.

FabianIsensee commented 2 years ago

Thank you for pointing this out and fixing it! Much appreciated :-)