From meiyappan.nagappan at gmail.com Tue Jul 10 14:40:49 2007 From: meiyappan.nagappan at gmail.com (meiyappan nagappan) Date: Tue, 10 Jul 2007 15:40:49 -0400 Subject: [Swift-user] Novice Query Message-ID: Hi, I am new to this. I have a workflow which I would like to run using Swift. I have a few questions as I could not get answers to these from the tutorial pages. 1) Is there a GUI in Swift where I can do it or is it just a scripting language. 2) Can I just call my existing code(which is part of my workflow) from Swift or Do I have re write my code in Swift again. Thanks. Mei From tiberius at ci.uchicago.edu Tue Jul 10 14:54:41 2007 From: tiberius at ci.uchicago.edu (Tiberiu Stef-Praun) Date: Tue, 10 Jul 2007 14:54:41 -0500 Subject: [Swift-user] Novice Query In-Reply-To: References: Message-ID: 1. No GUI is available at this point. It's all scripting. 2. Swift is indended to let you execute your (existing) code. Any kind of executable code that you have can be invoked by Swift. Tibi On 7/10/07, meiyappan nagappan wrote: > Hi, > I am new to this. I have a workflow which I would like to run using > Swift. I have a few questions as I could not get answers to these from > the tutorial pages. > > 1) Is there a GUI in Swift where I can do it or is it just a scripting language. > > 2) Can I just call my existing code(which is part of my workflow) from > Swift or Do I have re write my code in Swift again. > > > > Thanks. > Mei > _______________________________________________ > Swift-user mailing list > Swift-user at ci.uchicago.edu > http://mail.ci.uchicago.edu/mailman/listinfo/swift-user > -- Tiberiu (Tibi) Stef-Praun, PhD Research Staff, Computation Institute 5640 S. Ellis Ave, #405 University of Chicago http://www-unix.mcs.anl.gov/~tiberius/ From meiyappan.nagappan at gmail.com Tue Jul 10 15:01:45 2007 From: meiyappan.nagappan at gmail.com (meiyappan nagappan) Date: Tue, 10 Jul 2007 16:01:45 -0400 Subject: [Swift-user] Novice Query In-Reply-To: References: Message-ID: Thanks. I have one more question. If I have to run this code of mine in a remote machine, how can I call it from a swift script. Can I open an ssh connection via swift. Mei On 7/10/07, Tiberiu Stef-Praun wrote: > 1. No GUI is available at this point. It's all scripting. > > 2. Swift is indended to let you execute your (existing) code. Any kind > of executable code that you have can be invoked by Swift. > > Tibi > > On 7/10/07, meiyappan nagappan wrote: > > Hi, > > I am new to this. I have a workflow which I would like to run using > > Swift. I have a few questions as I could not get answers to these from > > the tutorial pages. > > > > 1) Is there a GUI in Swift where I can do it or is it just a scripting language. > > > > 2) Can I just call my existing code(which is part of my workflow) from > > Swift or Do I have re write my code in Swift again. > > > > > > > > Thanks. > > Mei > > _______________________________________________ > > Swift-user mailing list > > Swift-user at ci.uchicago.edu > > http://mail.ci.uchicago.edu/mailman/listinfo/swift-user > > > > > -- > Tiberiu (Tibi) Stef-Praun, PhD > Research Staff, Computation Institute > 5640 S. Ellis Ave, #405 > University of Chicago > http://www-unix.mcs.anl.gov/~tiberius/ > From piccoli at fnal.gov Sun Jul 22 17:25:52 2007 From: piccoli at fnal.gov (Luciano Piccoli) Date: Sun, 22 Jul 2007 17:25:52 -0500 Subject: [Swift-user] Using @arg function with arrays In-Reply-To: References: <46807F9B.6050008@fnal.gov> Message-ID: Hi, I'm using the @arg function to get command line arguments into the swift script. That works well with single values. Is there support to get arrays as well? Something like the following: > swift workflow.swift -confList=000102,000108,000114 > cat workflow.swift ... string confList[] = @arg("confList"); ... Thanks, Luciano From benc at hawaga.org.uk Mon Jul 23 09:24:10 2007 From: benc at hawaga.org.uk (Ben Clifford) Date: Mon, 23 Jul 2007 14:24:10 +0000 (GMT) Subject: [Swift-user] swift 0.2 development release Message-ID: A few days ago, I put Swift v0.2 on the website. Its available here: http://www.ci.uchicago.edu/swift/downloads/index.php This is a snapshot of the trunk to release fixes and features that have gone into the trunk code since v0.1 was made in March. -- From benc at hawaga.org.uk Sun Jul 29 18:32:51 2007 From: benc at hawaga.org.uk (Ben Clifford) Date: Sun, 29 Jul 2007 23:32:51 +0000 (GMT) Subject: [Swift-user] Using @arg function with arrays In-Reply-To: References: <46807F9B.6050008@fnal.gov> Message-ID: On Sun, 22 Jul 2007, Luciano Piccoli wrote: > I'm using the @arg function to get command line arguments into the swift script. That works well with single values. Is there support to get arrays as well? Something like the following: > > > swift workflow.swift -confList=000102,000108,000114 > > > cat workflow.swift > ... > string confList[] = @arg("confList"); > ... I missed your message - sorry for the late reply. I don't there's a way to do that in Swift at the moment. Something like that could be fairly straightforwardly implemented, I think. I'm slowly increasing the range of available string functions - something like the recently introduced @strcut function but that cuts a string into a an array of strings separated bya a supplied separator. --