AppendToFile

Created: 2008-11-11 15:11:38      Last updated: 2008-11-11 15:14:43

Processor to add content to a (existing)  file. The content is added to the end of the file. It is similar to the following perl code:

open STREAM, ">>$Filename";
print STREAM $Content;
print STREAM "\n", if($NewLine);
close STREAM;

The inputs:
Filename: the file name of a file, if the file does not exists, a new file is added
Content: the string to append
NewLine [default = true]: if true, a newline is added to the end of the line (useful if you want to add a record each time)

Information Preview

Information Run

Run this Workflow in the Taverna Workbench...

Option 1:

Copy and paste this link into File > 'Open workflow location...'
http://www.myexperiment.org/workflows/560/download?version=1
[ More InfoExpand ]


Information Workflow Components

Inputs (0)
Processors (1)
Beanshells (1)
Outputs (0)
Links (0)
Coordinations (0)

Information Workflow Type

Taverna 1

Information Uploader

Information License

All versions of this Workflow are licensed under:

Information Version 1 (earliest) (of 2)

View version:

Information Credits (1)

(People/Groups)

Information Attributions (0)

(Workflows/Files)

None

Information Tags (4)

Log in to add Tags

Information Shared with Groups (0)

None

Information Featured In Packs (0)

None

Log in to add to one of your Packs

Information Attributed By (1)

(Workflows/Files)

Information Favourited By (1)

Information Statistics

 

Citations (0)

None


Version History

In chronological order:



Reviews Reviews (0)

No reviews yet

Be the first to review!



Comments Comments (2)

Log in to make a comment

  • Tuesday 18 November 2008 23:17:04 (UTC)

    It seems a very basic processor to be used frequently. Thank you for posting it :)

    Have you tested with any particular file/case?

  • Friday 29 May 2009 13:32:13 (UTC)

    Hello,

    I have used this one in a very large workflow that takes 5 hours to run. It saves all intermediate results to restore the workflow run in case of a crash.

    See http://www.myexperiment.org/workflows/603

     

    Ingo

     




Workflow Other workflows that use similar services (0)

There are no workflows in myExperiment that use similar services to this Workflow.