Skip to content
Open
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
6 changes: 0 additions & 6 deletions neuroshare/Library.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
import sys
from . import _capi


class ArgumentError(Exception):
def __init__(self, arg, msg):
self.arg = arg
Expand Down Expand Up @@ -30,7 +29,6 @@ def __str__(self):


def _find_dll(library_name):

known_paths = ["~/.neuroshare", "/usr/lib/neuroshare", "/usr/local/lib/neuroshare"]
platform = sys.platform

Expand Down Expand Up @@ -58,7 +56,6 @@ def _find_dll(library_name):


def find_library_for_file(filename):

dll_map = {"mcd": "nsMCDLibrary",
"plx": "nsPlxLibrary",
"map": "nsAOLibrary",
Expand Down Expand Up @@ -90,10 +87,7 @@ def load_library_for_file(filename):
return Library.for_file(filename)

# ## Library Implementation


class Library(object):

_loaded_libs = {}

@classmethod
Expand Down