The file to be modified is <your Chimera installation>/share/Midas/midas_text.py.  Here’s the diff:

@@ -3352,9 +3353,9 @@
                except:
                        raise MidasError, "No value provided for keyword '%s'" \
                                                                        % typed
-               if not keyword.isalnum():
-                       raise MidasError, "Non-alphanumeric character in" \
-                               " keyword '%s'" % keyword
+               if not keyword.replace('_', '').isalnum():
+                       raise MidasError, "Non-alphanumeric or underscore " \
+                               " character in keyword '%s'" % keyword
                if keyword[0].isdigit():
                        raise MidasError, "Leading digit in keyword '%s'" % (
                                                                        keyword)

—Eric

Eric Pettersen
UCSF Computer Graphics Lab


On Oct 26, 2015, at 6:43 PM, MPI <mpi566@gmail.com> wrote:

Dear Elaine,

Thanks for your kind help !    Would you please let me know which
file is to be modified  in old ver. if a single file is responsible
for that keywords  ?  because I have mulitple manchines.   I'll
download a daily build and update that modifiled file if this would
work.

Regards,
Dwey

On 10/26/15, Elaine Meng <meng@cgl.ucsf.edu> wrote:
Dear Dwey,
Sorry about that — it was a bug that keywords with underscores in them did
not work.

You can get the fix in the next successful daily build (probably tomorrow).
Check for daily build dated Oct 22, 2015 or later:
<http://www.rbvi.ucsf.edu/chimera/download.html#daily>

Thanks for reporting the problem!
Elaine
----------
Elaine C. Meng, Ph.D.
UCSF Computer Graphics Lab (Chimera team) and Babbitt Lab
Department of Pharmaceutical Chemistry
University of California, San Francisco


On Oct 25, 2015, at 7:38 AM, MPI <mpi566@gmail.com> wrote:

Dear users,
 In Chimera, I tried to run a vina docking in command line like

vina docking receptor #0 ligand #1 output mytest search_center 10,20,30

There is an error:

Non-alphanumeric character in keyword 'search_center'

I have tried tweaking  the keyword 'search_center' in  different ways
but  the error won't go.

Dose anyone know how to fix it ? or is this format correct ?
Many thanks,
Dwey



_______________________________________________
Chimera-users mailing list
Chimera-users@cgl.ucsf.edu
http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users