rom: Schubert, Carsten [PRDUS] [mailto:cschu...@its.jnj.com]
> Sent: Wednesday, January 27, 2010 1:31 AM
> To: Jason Vertrees; David Hall
> Cc: pymol-users
> Subject: Re: [PyMOL] Whitespacing?
>
> Not much of a help, but WingIDE Professional Edition has a very good
> indentation manag
...@its.jnj.com]
Sent: Wednesday, January 27, 2010 1:31 AM
To: Jason Vertrees; David Hall
Cc: pymol-users
Subject: Re: [PyMOL] Whitespacing?
Not much of a help, but WingIDE Professional Edition has a very good
indentation manager, which takes care of the mixed/space tab issues. If you are
working in
Hi,
On Tue, 26 Jan 2010 10:48:58 -0600 Michael Zimmermann
wrote:
> If you have a lot of files to do this to, I would suggest learning at
> least a little bit of perl. It might not be as nice an option as a
> python tab manager (depending on your point of view), though.
Or even better, try sed
Try the expand command on linux or google for "sed tab to space
replacement".
Marius
On Tue, Jan 26, 2010 at 5:48 PM, Michael Zimmermann wrote:
> If you have a lot of files to do this to, I would suggest learning at
> least a little bit of perl. It might not be as nice an option as a
> python ta
If you have a lot of files to do this to, I would suggest learning at
least a little bit of perl. It might not be as nice an option as a
python tab manager (depending on your point of view), though.
Perl uses regular expressions. In case you'd like to see how to do
your tab-space replacement, th
rtrees [mailto:jason.vertr...@schrodinger.com]
> Sent: Tuesday, January 26, 2010 10:10 AM
> To: David Hall
> Cc: pymol-users
> Subject: Re: [PyMOL] Whitespacing?
>
> David,
>
> Oh, the joys of open-source. Here's my solution for you:
> (1) load your file in your favorit
David,
Oh, the joys of open-source. Here's my solution for you:
(1) load your file in your favorite editor
(2) determine user-desired tab stop setting
(3) convert all tabs to spaces in your editor (or search replace tabs
with X-spaces)
(4) save your file
One warning though, I have seen some
During my editing of dynoplot.py, I noticed that there were some
whitespace issues. Normally I consider whitespace a bikeshedding
topic, but in python, it is significant, so it matters. When tabs and
spaces are mixed, our own personal settings for how tabs are displayed
in an editor makes a huge