Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2007
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2007

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Bad imports of data files -- extra empty lists showing up?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg80757] Re: Bad imports of data files -- extra empty lists showing up?
  • From: David Bailey <dave at Remove_Thisdbailey.co.uk>
  • Date: Thu, 30 Aug 2007 23:51:57 -0400 (EDT)
  • References: <far9ul$4dl$1@smc.vnet.net> <200708290818.EAA27210@smc.vnet.net> <fb5oti$974$1@smc.twtelecom.net>

Curtis Osterhoudt wrote:
> Hello, Daniel,
> 
> I've opened them up in text editors and looked for "invisibles", etc.
> David Annets also looked at a couple of files I sent him (with these "bad"
> bits in them) and wasn't able to reproduce the problem I'm having. So it may
> just be this installation of Mathematica, or something screwy with its
> implementation on this processor (as remote a possibility as that might be) 
> 
> Because I'll have to reinstall on a newer, faster computer sometime this
> week or next, I'm not worrying about it at the moment; perhaps this esoteric
> problem will disappear on its own! I also want to try (but haven't got around
> to it) the same experiments at home, on some different installations, and see
> what happens.
> 
> Thanks for the suggestion. It was one of my first ideas, but hasn't panned
> out.
> 
> Curtis
> 
> On Wednesday 29 August 2007 02:18:27 dh wrote:
>> Hi Curtis,
>>
>> have you checked that your files do not contain any invisible (control)
>>
>> characters?
>>
>>
>>
>> Daniel
> 
Remember that not all stray characters would necessarily show up with a 
text editor. It might be worth opening the file with a hex editor so 
that you could see exactly what was in the file. If the data is 
otherwise completely uncorrupted, you could, of course, just clean it up 
by doing something like:

data=data/.{}:>Sequence[];

If the corruption happens at line 5678 (say), it might be worth trying 
removing 5675 lines with a text editor, to see if the corruption happens 
on line 3. This would make it much easier to examine with a hex editor.

David Bailey
http://www.dbaileyconsultancy.co.uk


  • Prev by Date: [Mathematica 6] Bug in Labeled, Center align option not accepted. And how to left justify label under object?
  • Next by Date: Re: Special characters in the axis label?
  • Previous by thread: Re: Re: Bad imports of data files -- extra empty lists showing up?
  • Next by thread: BarChart inside a Frame. How to remove Labels from the top of the frame? How to put x-axis label below and not on the side?