import nidmm
nidmm.__version__
Traceback (most recent call last):
File "C:\ProgramData\Anaconda3\lib\site-packages\IPython\core\interactiveshell.py", line 2878, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "<ipython-input-3-9cc93eb215e9>", line 1, in <module>
nidmm.__version__
AttributeError: module 'nidmm' has no attribute '__version__'
import requests
requests.__version__
Out[5]: '2.19.1'
Description of issue
When using nidmm or any of the other nimi python modules, calling module.version should return the version number of the software. For the purposes of automated system validation, programatically calling the version number to validate that someone has not altered the system is preferred. Additionally, and perhaps more importantly pip installs use the .version method to determine whether the currently installed version is higher or lower than an upgrade version, and without that method, the --force-reinstall operator must be used to update the module.
Steps to reproduce issue
Example of best practice: