Skip to content

Commit

Permalink
Add docstring tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
tsalo committed Aug 5, 2024
1 parent 74cc164 commit 9851ee9
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions niworkflows/utils/spaces.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,16 @@ class Reference:
>>> Reference('MNIPediatricAsym', {'cohort': 1}).standard
True
>>> # Check dim property
>>> Reference('func').dim
3
>>> Reference('MNI152NLin6Asym').dim
3
>>> Reference('fsnative').dim
2
>>> Reference('onavg').dim
2
>>> # Equality/inequality checks
>>> Reference('func') == Reference('func')
True
Expand Down

0 comments on commit 9851ee9

Please sign in to comment.