Commit b8801cd5 authored by Martin Reinecke's avatar Martin Reinecke
Browse files

Merge branch 'coding_style' into 'NIFTy_7'

Add note on asserts

See merge request !627
parents 0acc9ff7 0d6c940c
...@@ -134,6 +134,15 @@ The NIFTy package is licensed under the terms of the ...@@ -134,6 +134,15 @@ The NIFTy package is licensed under the terms of the
*without any warranty*. *without any warranty*.
Contributing
------------
Please note our convention not to use pure Python `assert` statements in
production code. They are not guaranteed to by executed by Python and can be
turned off by the user (`python -O` in cPython). As an alternative use
`ift.myassert`.
Contributors Contributors
------------ ------------
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment