Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion _spaun/modules/motor/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

class MotorDataObject(object):
def __init__(self):
self.filepath = os.path.join('_spaun', 'modules', 'motor')
self.filepath = os.path.dirname(__file__)

canonical_paths = np.load(os.path.join(self.filepath,
'canon_paths.npz'))
Expand Down
2 changes: 1 addition & 1 deletion _spaun/modules/vision/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

class VisionDataObject(object):
def __init__(self):
self.filepath = os.path.join('_spaun', 'modules', 'vision')
self.filepath = os.path.dirname(__file__)

# --- LIF vision network configurations ---
self.max_rate = 63.04
Expand Down
Loading