LBEM-CH / focus

High Throughput Electron Microscopy Image Processing Software
http://www.focus-em.org
GNU General Public License v2.0
35 stars 14 forks source link

error launching motioncorrect_gui.py #102

Closed azazellochg closed 9 years ago

azazellochg commented 9 years ago

Hello,

I've been trying to use your python scripts as suggested on the web page (https://github.com/C-CINA/2dx/wiki/Automated-Drift-Correction-GUI), but after launching motioncorrect_gui.py and selecting input/output folders I always get an error:

sharov@microgpu2:~/test$ motioncorrect_gui.py 
Traceback (most recent call last):
  File "/home/sharov/soft/movie_align/motioncorrect_gui.py", line 692, in <module>
    main() 
  File "/home/sharov/soft/movie_align/motioncorrect_gui.py", line 687, in main
    app = Auto2dxGUI(root)
  File "/home/sharov/soft/movie_align/motioncorrect_gui.py", line 40, in __init__
    self.initUI()
  File "/home/sharov/soft/movie_align/motioncorrect_gui.py", line 498, in initUI
    self.getFolders()
  File "/home/sharov/soft/movie_align/motioncorrect_gui.py", line 62, in getFolders
    if len(self.stack_dir)==0:
AttributeError: Auto2dxGUI instance has no attribute 'stack_dir'

Regards, Gregory.

scherers commented 9 years ago

Hi

To select a folder you have to navigate into the desired folder and then click on “OK” but you cannot just select them on an upper level. I guess this is the problem here, because the software stops after checking the existence of the input directory.

Best, Sebastian

Sebastian Scherer Center for Cellular Imaging and Nanoanalytics (C-CINA) Structural Biology and Biophysics, Biozentrum, WRO-1058 Mattenstrasse 26 University Basel, CH-4058 Basel, Switzerland Tel: +41 - 61 - 387 32 32 (office) Fax: +41 - 61 - 387 39 86

On 25 Nov 2014, at 12:23, Grigory Sharov notifications@github.com<mailto:notifications@github.com> wrote:

Hello,

I've been trying to use your python scripts as suggested on the web page (https://github.com/C-CINA/2dx/wiki/Automated-Drift-Correction-GUI), but after launching motioncorrect_gui.py and selecting input/output folders I always get an error:

sharov@microgpu2:~/test$ motioncorrect_gui.py Traceback (most recent call last): File "/home/sharov/soft/movie_align/motioncorrect_gui.py", line 692, in main() File "/home/sharov/soft/movie_align/motioncorrect_gui.py", line 687, in main app = Auto2dxGUI(root) File "/home/sharov/soft/movie_align/motioncorrect_gui.py", line 40, in init self.initUI() File "/home/sharov/soft/movie_align/motioncorrect_gui.py", line 498, in initUI self.getFolders() File "/home/sharov/soft/movie_align/motioncorrect_gui.py", line 62, in getFolders if len(self.stack_dir)==0: AttributeError: Auto2dxGUI instance has no attribute 'stack_dir'

— Reply to this email directly or view it on GitHubhttps://github.com/C-CINA/2dx/issues/102.

azazellochg commented 9 years ago

Hi Sebastian,

I do exactly as you said, even tried to launch it from another folder. The programs accepts input folder, output avg folder and output stacks folder and then stops with this error.

PS. Actually, I have another question - what is the format of input images (we are using Falcon II)? Are they FEI raw file (per each frame) or mrc stack of unaligned frames?

scherers commented 9 years ago

Yes you were absolutely right, sorry. A bad recent changed caused the issue. It is now fixed in the repo, it will take one hour till the package is update on 2dx.org.

Cheers, Sebastian