You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SyntaxWarning: "is not" with a literal. Did you mean "!="?
assert file != "" is not None, "No input specified"
The code as written means: assert (file != "") and ("" is not None), which is clearly not what is wanted; perhaps it should be assert (file != "") and (file is not None) instead?
The text was updated successfully, but these errors were encountered:
Pweave/pweave/__init__.py
Line 47 in 45b56ec
raises the followng warning:
The code as written means:
assert (file != "") and ("" is not None)
, which is clearly not what is wanted; perhaps it should beassert (file != "") and (file is not None)
instead?The text was updated successfully, but these errors were encountered: