Skip to content

Commit 855754a

Browse files
committed
Fix function to fetch full path to data files.
1 parent 22b9563 commit 855754a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

mindboggle/data/data.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ def fetch_file_path(file_name):
2626
"""
2727
import os
2828

29-
full_path = os.path.join(os.path.dirname(__file__), file_name)
30-
file_path = open(full_path)
29+
file_path = os.path.join(os.path.dirname(__file__), file_name)
3130

3231
return file_path

0 commit comments

Comments
 (0)