DiamondLightSource / SuRVoS

(Su)per (R)egion (Vo)lume (S)egmentaton workbench
Apache License 2.0
25 stars 5 forks source link

unable to read .REC files (Error: "name 'unicode' is not defined") #39

Closed jewettaij closed 6 years ago

jewettaij commented 6 years ago

I was eventually able to get SuRVoS installed using conda and the "pyqt5" branch. (Thanks Srikanth Nagella!) I attempted to load the file by clicking on the "Input Dataset" button in the upper right. (Incidentally, nothing happens if I select the "File"->"Load Dataset" menu option. I'm thinking of creating a separate issue for that problem.) Anyway, when I select a file, and click "Load", I get a dialogue box with the following error message:

[NameError]
name 'unicode' is not defined

The file in question is a standard Electron Cryo-Tomography (ECT/Cryo-EM) volumetric image of a bacterial cell from the Grant Jensen lab tomography database. I'm attaching a small cropped version of this tomogram ("small_ECT_image.rec"). I tried several other tomograms from the database and they failed too. That database contains over 10000 tomograms, and the Jensen lab is considering making it available it to the public via a web interface (which would make it possibly the largest publicly available database of cellular tomograms).

jewettaij commented 6 years ago

Here's that file I mentioned:

small_ECT_image.rec.gz

(you have to uncompress it first)

jewettaij commented 6 years ago

I can confirm that this is working now. That's great. Thanks