[chemfp] tab-only instead of tab-or-space
Rajarshi Guha
rajarshi.guha at gmail.com
Wed Aug 24 10:29:08 EDT 2011
On Wed, Aug 24, 2011 at 9:46 AM, Andrew Dalke <dalke at dalkescientific.com> wrote:
> In Python it's (slightly) easier to do:
>
> fields = line.split() # any runs of whitespace is allowed
> # and a\t\tb is two fields
>
> than to
>
> fields = line.split("\t") # only tabs are allows,
> # and a\t\tb is three fields
Yes, that's true - but I like the second version as the field sep is explicit
> Have you come across anyone who ran into problems confusing
> tabs and spaces?
Myself :)
I hate Make files with a passion.
But this format is easier since I'd know exactly where tabs should be,
and any other tabs imply a badly formatted file
--
Rajarshi Guha
NIH Chemical Genomics Center
More information about the chemfp
mailing list