adding __version__ attrib.
@@ -36,12 +36,18 @@ try:
except AttributeError:
pass
+from niftynet.utilities.versioning import get_niftynet_version_string
+
+__version__ = get_niftynet_version_string()
+
import os
from niftynet.io.misc_io import set_logger
+
set_logger()
from niftynet.utilities.util_import import require_module
+
require_module('blinker', descriptor='New dependency', mandatory=True)
import niftynet.utilities.util_common as util
@@ -54,7 +60,6 @@ from niftynet.io.misc_io import resolve_module_dir
from niftynet.io.misc_io import to_absolute_path
-
def main():
system_param, input_data_param = user_parameters_parser.run()
if util.has_bad_inputs(system_param):
