Hi Muhtari,

I uploaded the script to the Pymol-script-repo, so you can use the
download link in the upper right box now, instead of copy&paste:

http://pymolwiki.org/index.php/FindSurfaceResidues

Cheers,
  Thomas

M Adanan wrote, On 07/14/13 15:00:
> Hi David,
> 
> Which character?
> 
> I did a copy and paste, from Pymol's Script Library, into Mac's Text
> Editor, and saved it as a txt file.
> 
> Many thanks,
> 
> M.A.
> 
> Sent from my iPad
> 
> On 13 Jul 2013, at 17:26, David Hall <li...@cowsandmilk.net
> <mailto:li...@cowsandmilk.net>> wrote:
> 
>> your file has a weird non-ASCII character on line 5, causing the
>> syntax error it mentions on line 5. Actually, your file has such
>> characters on a whole bunch of lines (5, 37, 40, 45, 53, 54, 59, 61,
>> 63, 64). Not sure how they were added, but if you delete them, then
>> your file runs. If you provide more details on how you made your file,
>> people may be able to tell you how to avoid the problem.
>>
>> -David
>>
>> On Saturday, July 13, 2013 at 9:31 AM, Muhtari Adanan wrote:
>>>
>>>> Dear Group,
>>>>
>>>> I am a complete novice, thus hoped you would provide guidance on
>>>> using Pymol Scripts.
>>>>
>>>> When trying to run the above script, from Pymol's Script Library, on
>>>> my macpymol, i get the following error message - attached below is
>>>> the findSurfaceResidues.txt script.
>>>>
>>>> PyMOL>run findSurfaceResidues3
>>>> Traceback (most recent call last):
>>>>   File
>>>> "/Volumes/Data/scm/vikki/bld/MacPyMOL.app/pymol/modules/pymol/parser.py",
>>>> line 338, in parse
>>>>   File
>>>> "/Volumes/Data/scm/vikki/bld/MacPyMOL.app/pymol/modules/pymol/parsing.py",
>>>> line 455, in run_file
>>>> IOError: [Errno 2] No such file or directory: 'findSurfaceResidues3'
>>>> PyMOL>run findSurfaceResidues3.txt
>>>> Traceback (most recent call last):
>>>>   File
>>>> "/Volumes/Data/scm/vikki/bld/MacPyMOL.app/pymol/modules/pymol/parser.py",
>>>> line 338, in parse
>>>>   File
>>>> "/Volumes/Data/scm/vikki/bld/MacPyMOL.app/pymol/modules/pymol/parsing.py",
>>>> line 455, in run_file
>>>>   File "findSurfaceResidues3.txt", line 5
>>>>      
>>>>      ^
>>>>  SyntaxError: invalid syntax
>>>>
>>>
>>>> Where am I, going astray?
>>>>
>>>> M.A.

-- 
Thomas Holder
PyMOL Developer
Schrödinger Contractor

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net

Reply via email to