Issue 3551: method 'result()' of an AnalysisInstance object (biomolecular-ftf) Source: Japan Biological Informatics Consortium (Mr. Martin Senger, martin.senger@gmail.com) Nature: Uncategorized Issue Severity: Summary: Regarding method 'result()' of an AnalysisInstance object: If a particular result does not exist (not yet, or at all), should this method just ignore it, or to send back "an empty" Any (with tc kind tc_void)? Also we should specify what happen if methods result() and get_result() are called when an analysis is in the states CREATED and/or RUNNING (as we do it for TERMINATED* states). Suggestion: it needs to be discuss whether some document clarification would be enough, or if we want to have an additional exception. Resolution: accepted Revised Text: Change the text in both boxes in 2.2.10 describing methods results() and get_result(): to add "RUNNING or" before TERMINATED_BY_REQUEST to change "two" to "three (several places in the box) to add text: Note 2: An AnalysisInstance in the CREATED state returns an empty list of results. Actions taken: April 11, 2000: received issue May 24, 2001: closed issue Discussion: End of Annotations:===== Date: Tue, 11 Apr 2000 19:53:32 +0100 (GMT) From: Martin Senger To: Juergen Boldt cc: biomolecular-ftf@omg.org Subject: Re: several possible "issues" In-Reply-To: <38F2C7F5.518CB9A3@netgenics.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-UIDL: 2(#"!EOS!!7j5e9_~"e9 Juergen, Here are some issues we are discussing in the FTF. I think that they are ready to be issued as issues :-). Could you please do it? Most of them are just changes in the spec document and I do not know if they should be separated or sent together. I am refering to the lifesci/99-12-01. Regarding method 'result()' of an AnalysisInstance object: If a particular result does not exist (not yet, or at all), should this method just ignore it, or to send back "an empty" Any (with tc kind tc_void)? Also we should specify what happen if methods result() and get_result() are called when an analysis is in the states CREATED and/or RUNNING (as we do it for TERMINATED* states). Suggestion: it needs to be discuss whether some document clarification would be enough, or if we want to have an additional exception. Date: Tue, 26 Sep 2000 12:13:15 +0100 (BST) From: Martin Senger To: biomolecular-ftf@omg.org Subject: issue 3551 - a proposed resolution In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-UIDL: [G;e9Id]d9ABGe97"5!! [ the talk is about what results() and get_result() should return in some special situations ] I am proposing some clarification in the document, not an IDL change. Proposed resolution: -------------------- Change the text in both boxes in 2.2.10 describing methods results() and get_result(): - to add "RUNNING or" before TERMINATED_BY_REQUEST - to change "two" to "three (several places in the box) - to add text: Note 2: An AnalysisInstance in the CREATED state returns an empty list of results. Regards, Martin -- Martin Senger EMBL Outstation - Hinxton Senger@EBI.ac.uk European Bioinformatics Institute Phone: (+44) 1223 494636 Wellcome Trust Genome Campus (Switchboard: 494444) Hinxton Fax : (+44) 1223 494468 Cambridge CB10 1SD United Kingdom http://industry.ebi.ac.uk/~senger Date: Tue, 26 Sep 2000 10:56:25 -0700 From: Scott Markel Organization: NetGenics, Inc. X-Mailer: Mozilla 4.73 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: Martin Senger CC: biomolecular-ftf@omg.org Subject: Re: issue 3551 - a proposed resolution References: Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii X-UIDL: ~/jd9[NYd9fX_d9HpK!! Martin, Martin Senger wrote: > > [ the talk is about what results() and get_result() should return in some > special situations ] > > I am proposing some clarification in the document, not an IDL change. > > Proposed resolution: > -------------------- > Change the text in both boxes in 2.2.10 describing methods results() > and get_result(): > - to add "RUNNING or" before TERMINATED_BY_REQUEST > - to change "two" to "three (several places in the box) > - to add text: > Note 2: An AnalysisInstance in the CREATED state returns an empty > list of results. Looks good to me. Scott -- Scott Markel, Ph.D. NetGenics, Inc. smarkel@netgenics.com 4350 Executive Drive Tel: 858 455 5223 Suite 260 FAX: 858 455 1388 San Diego, CA 92121