Problem with sxhelicon.py

42 views
Skip to first unread message

Robn

unread,
Jan 29, 2014, 8:07:56 AM1/29/14
to em...@googlegroups.com
Hi Pawel,

In the new approach of run through helical example, I encountered a problem with sxhelicon.py even after changing directory name. The program could not find module nofunc in path.  What could be the problem?

See below:

$ mpirun -np 3 sxhelicon.py bdb:data inivol.hdf result_a1 --apix=1.84 --searchxshift=3.68 --xwobble=1.84 --ywobble=0 --phiwobble=1.64 --delta=1.64 --maxit=10 --dp=27.6 --dphi=166.715 --psi_max=7 --rmin=0 --rmax=62.56 --fract=0.085 --function="[.,nofunc,helical3c]" --CTF --seg_ny=200

  *****  ERROR in: helicon_MPI
  *****  Output directory result_a1  exists, please change the name and restart the program


  *****  ERROR in: helicon_MPI
  *****  Output directory result_a1  exists, please change the name and restart the program

could not find module nofunc in path .
Traceback (most recent call last):
  File "/usr/local/EMAN2/bin/sxhelicon.py", line 140, in <module>
    main()
  File "/usr/local/EMAN2/bin/sxhelicon.py", line 132, in main
    mask, options.maxit, options.CTF, options.snr, options.sym,  options.function, options.npad, options.debug)
  File "/usr/local/EMAN2/lib/applications.py", line 13924, in ehelix_MPI
    vol = user_func(ref_data)
TypeError: 'NoneType' object is not callable


$ e2version.py
EMAN 2.1 alpha3 (CVS 2014/01/25 18:01:06)
Your EMAN2 is running on:  Linux-3.5.0-45-generic-x86_64-with-debian-wheezy-sid 3.5.0-45-generic x86_64
Your Python version is:  2.7.3

Robert




Paul Penczek

unread,
Jan 29, 2014, 10:01:26 AM1/29/14
to em...@googlegroups.com
Hi,

There are two problems here:

1. The program will not run if the specified output directory already exists. It either has to be deleted or the name changed. This is meant to prevent accidental overwriting previous results.

2. If you moved the file with user functions (here nofunc.py) elsewhere, the directory path has to be specified as a first parameter in the brackets [].

Regards,
Pawel

Sent from Yahoo Mail for iPhone


From: Robn <ndo...@gmail.com>;
To: <em...@googlegroups.com>;
Subject: [EMAN2] Problem with sxhelicon.py
Sent: Wed, Jan 29, 2014 1:07:56 PM

--
--
----------------------------------------------------------------------------------------------
You received this message because you are subscribed to the Google
Groups "EMAN2" group.
To post to this group, send email to em...@googlegroups.com
To unsubscribe from this group, send email to eman2+un...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/eman2
 
---
You received this message because you are subscribed to the Google Groups "EMAN2" group.
To unsubscribe from this group and stop receiving emails from it, send an email to eman2+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Reply all
Reply to author
Forward
0 new messages