Skip to content
Snippets Groups Projects
Commit 3568f7db authored by Paul McCarthy's avatar Paul McCarthy
Browse files

Fix to FSL version check

parent 670811c6
No related branches found
No related tags found
No related merge requests found
Pipeline #
...@@ -295,12 +295,12 @@ class Platform(notifier.Notifier): ...@@ -295,12 +295,12 @@ class Platform(notifier.Notifier):
if value is not None: if value is not None:
os.environ['FSLDIR'] = value os.environ['FSLDIR'] = value
# Set the FSL version field if we can # Set the FSL version field if we can
versionFile = op.join(value, 'etc', 'fslversion') versionFile = op.join(value, 'etc', 'fslversion')
if op.exists(versionFile): if op.exists(versionFile):
with open(versionFile, 'rt') as f: with open(versionFile, 'rt') as f:
self.__fslVersion = f.read().strip() self.__fslVersion = f.read().strip()
self.notify() self.notify()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment