Project

General

Profile

Actions

Bug #2912

closed

RCT error

Added by Scott Stagg about 10 years ago. Updated about 9 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
-
Start date:
08/26/2014
Due date:
% Done:

0%

Estimated time:
Affected Version:
Appion/Leginon 3.1.0
Show in known bugs:
No
Workaround:

Description

We are having an issue with RCT. I am currently on the trunk distribution. When we go to test the region finder (click the acquisition icon in the RCT node), we are getting an error where Leginon says 'libCV.FindRegions failed'. I traced this down to the rctacquisition.py module in the testAcquire function. I worked around the error by commenting out the try/except statement and just executing FindRegions on it own line. See below:

        # find regions
        minsize = self.settings['minsize']
        maxsize = self.settings['maxsize']
        timeout = 300
        regions, image  = libCVwrapper.FindRegions(im, minsize, maxsize)

        print "This is modified!!!!!!!!!!!!!!!" 
        self.logger.info('running libCV.FindRegions, timeout = %d' % (timeout,))
        #try:
        #    regions,image = pyami.timedproc.call('leginon.libCVwrapper', 'FindRegions', args=(im,minsize,maxsize), timeout=timeout)
        #except:
        #    self.logger.error('libCV.FindRegions failed')
        #    regions = []
        #    image = None

Somehow the timer or the try is messing things up. Do y'all have this problem at Scripps?


Files

arraynew.mrc (4 MB) arraynew.mrc Anchi Cheng, 09/17/2014 09:38 AM
arrayold.mrc (4 MB) arrayold.mrc Anchi Cheng, 09/17/2014 09:38 AM
testMatchImages.py (666 Bytes) testMatchImages.py Anchi Cheng, 09/17/2014 09:38 AM
testOpenCVMatchImages.py (764 Bytes) testOpenCVMatchImages.py Anchi Cheng, 09/04/2015 02:56 PM

Related issues 2 (0 open2 closed)

Related to Leginon - Task #3546: make autoinstalled rctacquisition.py executableClosedCarl Negro09/10/2015

Actions
Related to Leginon - Feature #3020: rct feature matching using opencvClosedAnchi Cheng03/11/2015

Actions
Actions

Also available in: Atom PDF