Did I find the right examples for you? yes no

All Samples(4)  |  Call(4)  |  Derive(0)  |  Import(0)

src/b/i/Bika-LIMS-HEAD/bika/lims/content/instrument.py   Bika-LIMS(Download)
        ans = self.getRawAnalyses() if self.getRawAnalyses() else []
        ans.append(analysis.UID())
        self.setAnalyses(ans)
        self.cleanReferenceAnalysesCache()
 
        uid = analysis.UID()
        ans = [a for a in self.getRawAnalyses() if a != uid]
        self.setAnalyses(ans)
        self.cleanReferenceAnalysesCache()
 
            addedanalyses.append(ref_analysis)
 
        self.setAnalyses(self.getAnalyses() + addedanalyses)
 
        # Initialize LatestReferenceAnalyses cache

src/b/i/bika.lims-3.01a/bika/lims/content/instrument.py   bika.lims(Download)
            addedanalyses.append(ref_analysis)
 
        self.setAnalyses(self.getAnalyses() + addedanalyses)
 
        return addedanalyses