🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: bionet.software.srs
Article #137

defining an application with SRS6

#137
From: Rene Heek
Date: Sat, 10 Aug 2002 10:16
74 lines
3499 bytes
hi,

i've tried to setup a not predefined apllication in srs6, but failed
somehow. the documentation isn't very helpful (for me), maybe someone
can help me.

the apllication (they called it 'wessel') has no parameter in this stage
of development, so i reduced my AppOpp-set to jobName_option. this works
fine right now, the application is launched, produces some output-files,
which are copied back from where the application was launched. then srs
indices this file (temp_job1.<appname>) correctly (i can acces the
results via database selection in srs6). but srs doens't show me the
result right after executing my app ? when starting the indexscript
(temp_<appname>_1_index.csh) manually it says: 'error: databank has no
active read links, "WESSEL'. maybe the links are wrong:), but how do i
define them corractly ?

btw. has someone a idea how to get the $pwd variable, instead of
($Env:SRSROOT)/tmp/($ParStr:userId), in commandWrapper ? it works, but
this doesn't look very elegant to me. i've tried ($Env:PWD) but this
won't work on my machine.

thanks a lot 

rene heek

here my definitions:
wessel.i

#
# almost like genbank ...
#

$WESSEL_DB=$Library:[WESSEL group:$APPLICATION_LIBS 
  printName:'Wessel Results'
  parallelType:filesSize partSizeKb:200000 
  defaultView:$Entries_View
  defaultEntryView:$GenbankEntry_View
  entryViews:{$Entries_View $GenbankEntry_View}
  format:$GENBANK_FORMAT cachesize:512 maxNameLen:16 type:user
  searchName:'*.wessel'
  links:{
    $Link:[$WESSEL_DB to:$GENBANKREL_DB     fromField:$DF_Accession 
toField:$DF_Accession weight:11]
  }
]

#
#
#

$WESSEL_APP=$Application:[Wessel
  launchFromTopPage:y
  title:'a tool to wessel' 
  resultDb:$WESSEL_DB
  options:{
    $jobName_Option
  }

  command: @{
    $opt.command = 
       |longcomp ($Env:SRSROOT)/tmp/($ParStr:userId) ($appl.outFile)
  }

  commandWrapper: @{
     |($opt.command)
     |echo 'ready'

  }

  comment:
          | a very wessel application.

]
Technical Details
Message-ID: <3D47E9DD.D9949B66@zib.de>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!bloom-beacon.mit.edu!hgmp.mrc.ac.uk!net.bio.net

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fa6ec,aa7126b7092a9d47,start
X-Google-Attributes: gidfa6ec,public
X-Google-ArrivalTime: 2002-08-10 03:16:44 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!bloom-beacon.mit.edu!hgmp.mrc.ac.uk!net.bio.net
From: Rene Heek <heek@zib.de>
Newsgroups: bionet.software.srs
Subject: defining an application with SRS6
Date: 10 Aug 2002 11:16:43 +0100
Organization: Konrad-Zuse-Zentrum fuer Informationtechnik Berlin (ZIB)
Lines: 75
Sender: mod-srs@hgmp.mrc.ac.uk
Approved: BIOSCI Approval Key <biosci-approval-key@net.bio.net>
Message-ID: <3D47E9DD.D9949B66@zib.de>
NNTP-Posting-Host: mercury.hgmp.mrc.ac.uk
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Trace: niobium.hgmp.mrc.ac.uk 1028974604 3913 193.62.192.80 (10 Aug 2002 10:16:44 GMT)
X-Complaints-To: news@net.bio.net
NNTP-Posting-Date: Sat, 10 Aug 2002 10:16:44 +0000 (UTC)
X-Orig-NNTP-Posting-Host: avance.zib.de (130.73.72.36)
X-Orig-X-Trace: fu-berlin.de 1028123101 36415080 130.73.72.36 (16 1224 1227)
X-Accept-Language: de-DE, en
X-Razor-id: a93ef73700df31f43167e195de69b7476a365f08
X-Auth: PGPMoose V1.1 PGP bionet.software.srs
 iQCVAwUAPVToBaCIqsWvyF5FAQFA2QQAj0OZq0XXldL9ryIxwiGwkIHjH65mVSHu
 z9Isj8sEkLs9utm8DiA0Onp3IpRi5YhJvTj/Kwtyo4wvi1jydNhonMUoFKFvTdHW
 Wdg0X1D1xD1RT0HlnzuwKSAJ+LSCZtsBcdY7HOioegi06y6XqPoxeTT2hBAFogd5
 GKBNADKHdVY=
 =guWd