diff --git a/bioformats/__init__.py b/bioformats/__init__.py index 84d1150..2c18b07 100644 --- a/bioformats/__init__.py +++ b/bioformats/__init__.py @@ -95,4 +95,4 @@ import wx.py.PyCrust wx.py.PyCrust.main() - J.kill_vm() + javabridge.kill_vm() diff --git a/bioformats/formatreader.py b/bioformats/formatreader.py index 9a18dbf..2d540d5 100644 --- a/bioformats/formatreader.py +++ b/bioformats/formatreader.py @@ -748,8 +748,8 @@ def init_reader(self): je, "java/io/FileNotFoundException"): raise IOError( errno.ENOENT, - "The file, \"%s\", does not exist." % path, - path) + "The file, \"%s\", does not exist." % self.path, + self.path) e2 = IOError( errno.EINVAL, "Could not load the file as an image (see log for details)", self.path.encode('utf-8')) diff --git a/bioformats/omexml.py b/bioformats/omexml.py index 3a8535f..34ac366 100644 --- a/bioformats/omexml.py +++ b/bioformats/omexml.py @@ -1161,7 +1161,7 @@ def get_Description(self): return get_text(description) def set_Description(self, text): - make_text_node(self.node, NS_SPW, "Description", test) + make_text_node(self.node, self.ns['spw'], "Description", text) Description = property(get_Description, set_Description) def get_Well(self):