Wei Tan wrote:
> Hi,
Hello,
> In T2.1 when I choose "save result" and then select "files of
> type" as all files instead of txt file, the result is still a txt file.
> For example, if I want it to be a.csv then the result would be a.csv.txt.
> Is there anyway to change this? I would like that the result file to
> be opened directly by excel so .scv is preferred than .txt.
The appropriate code is (I think) in
net.sf.taverna.t2.workbench.views.results.saveactions.SaveIndividualResult
at lines 235-237 where it has
if (!file.getName().toLowerCase().endsWith(".txt")) {
String newFileName = file.getName() + ".txt";
file = new File(file.getParentFile(), newFileName);
}
I'll see if I can change it.
> Thanks,
> Best regards,
>
> Wei
Alan
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
taverna-hackers mailing list
[email protected]
Web site: http://www.taverna.org.uk
Mailing lists: http://www.taverna.org.uk/taverna-mailing-lists/
Developers Guide: http://www.mygrid.org.uk/tools/developer-information