Article View: bionet.software.srs
Article #153Registering queries within a session from a layout script
From: James Abbott
Date: Mon, 14 Jul 2003 16:50
Date: Mon, 14 Jul 2003 16:50
37 lines
2838 bytes
2838 bytes
I am creating some views of application results databases (under SRS 7.1.1) which require me to retrieve all the results for an application rather than the 30 which are produced by default. I am doing this by using a 'stub' object loader which just contains the job name etc., then within the layout script I can succesfully query the application results database and pull back the data back using a second object loader as follows: $s=CurrSession $set=$s.query:"[$db-id:$job\*]" $data=$set.load:"AppData" This gives me the data I need, however the query carried out during the layout script does not get registered within the users session, even though it is clearly using the right session since the application results are returned correctly. This means that attempts to change the view produce 'Query no. xx does not exist' errors in the browser, and application launching etc. does also not necessarily use the correct sequence. The documentation for the Session object indicates that the 'query' method contains a 'doReg' attribute which is enabled by default, but I've also tried manually registering the results i.e. $set=$s.query:["[$db-id:$job\*]" queryName:"AppData"] $s.registerSet:$set but this also doesn't seem to work. Does anyone have any ideas of how to get round this, or am I trying to do the impossible? Cheers, James -- j.abbott@imperial.NOSPAM.ac.uk Bioinformatics Software Developer, Imperial College, London
Technical Details
Message-ID:
<pan.2003.07.14.10.16.52.351512@imperial.NOSPAM.ac.uk>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!bloom-beacon.mit.edu!hgmp.mrc.ac.uk!net.bio.netShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa6ec,b8ea28cfb80d177a,start X-Google-Attributes: gidfa6ec,public X-Google-ArrivalTime: 2003-07-14 09:50:28 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: "James Abbott" <j.abbott@imperial.NOSPAM.ac.uk> Newsgroups: bionet.software.srs Subject: Registering queries within a session from a layout script Date: 14 Jul 2003 17:50:25 +0100 Organization: Imperial College, London Lines: 38 Sender: mod-srs@hgmp.mrc.ac.uk Approved: BIOSCI Approval Key <biosci-approval-key@net.bio.net> Message-ID: <pan.2003.07.14.10.16.52.351512@imperial.NOSPAM.ac.uk> NNTP-Posting-Host: mercury.hgmp.mrc.ac.uk Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: niobium.hgmp.mrc.ac.uk 1058201425 6411 193.62.192.80 (14 Jul 2003 16:50:25 GMT) X-Complaints-To: news@net.bio.net NNTP-Posting-Date: Mon, 14 Jul 2003 16:50:25 +0000 (UTC) X-Original-To: bionet-software-srs@net.bio.net User-Agent: Pan/0.13.0 (The whole remains beautiful) X-Auth: PGPMoose V1.1 PGP bionet.software.srs iQCVAwUAPxLfUKCIqsWvyF5FAQGECAQApU3E3WAU4sj9KdHptXT9+bA3DAR8wihx 0PXclt1FJBkvyPamR61nFpfFEwW/xUg5oUy3he6+kzzttSuWmDHi5IB0a8ourXBh o6mAhLFB1isFSt8iC51vLL0f64NzxYHp1rLkqplMxvW9UKMFpIMiyE0qmbabH3F7 z1PwGwHAUN0= =zwsP