hp.load does not work
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
HoloPy |
New
|
Undecided
|
Unassigned |
Bug Description
my code works with provided images that is preloaded with metadata (i.e.get_
but it doesn't let me load my own images in the directory.
In[2]: import holopy as hp
optics = hp.core.
polarization=[1.0, 0.0])
In[3]: holo = hp.load('1.tif', spacing = .1, optics = optics)
Traceback (most recent call last):
File "/usr/lib/
exec code_obj in self.user_
File "<ipython-
holo = hp.load('1.tif', spacing = .1, optics = optics)
File "/usr/local/
loaded = load_image(inf, spacing=spacing, optics=optics, channel=channel)
File "/usr/local/
metadata = json.loads(
File "/usr/lib/
return _default_
File "/usr/lib/
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
TypeError: expected string or buffer
thank you so much for your help!