Print

Print


People have written codes that read/write these files based on the convention you chose.

Instead of requiring them to now modify those codes or add an intermediate step, why not
just allow either whitespace or commas?



On Jul 6, 2015, at 13:02, McCormick, Jeremy I. <[log in to unmask]> wrote:

> Sorry, but I'm definitely going to change it.  Existing files can be easily converted, and I can provide a script if needed.  Tabs was a bad initial choice for this and I want to fix it.
> 
> -----Original Message-----
> From: Nathan Baltzell [mailto:[log in to unmask]] 
> Sent: Monday, July 06, 2015 9:59 AM
> To: McCormick, Jeremy I.
> Cc: hps-software; Omar Moreno
> Subject: Re: proposed change to conditions text interface
> 
> I propose to not break stuff and either:
> 
> 1.  not change this
> 2.  all commas in addition to whitespace, not instead of
> 
> -Nathan
> 
> 
> 
> On Jul 6, 2015, at 12:01, McCormick, Jeremy I. <[log in to unmask]> wrote:
> 
>> Hi,
>> 
>> A heads up....
>> 
>> I'm planning in the near future to change the conditions text-loading interfaces to accept comma delimited text files by default rather than the current tab delimited format.
>> 
>> Existing input text files can be easily converted to the new format using a command such as this.
>> 
>> # Convert tabs to commas in a text file.
>> $ sed 's/\t/,/g' input_file.txt > output_file.txt
>> 
>> Likely this change will occur when I merge in the HPSJAVA-488 branch sometime this week.
>> 
>> I'll make a JIRA item about this soon.
>> 
>> Along with this change/merge into trunk there will be the addition of CSV loading/writing directly from the API via Apache CSV lib.
>> 
>> Thanks.
>> 
>> --Jeremy
> 

########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the HPS-SOFTWARE list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=HPS-SOFTWARE&A=1