def commitToDatabase(self, imgdata):
         """
         Uses the appionLoop commit
         """
         ### insert False values
         if self.imgassess is False:
                 self.reject += 1
                 apDatabase.setImgViewerStatus(imgdata, False, msg=True)
                 f = open("imageRejectList.txt", "a")
                 f.write(imgdata['filename']+"\n")
                 f.close()
def hideImage(imgid):
        imgdata=leginon.leginondata.AcquisitionImageData.direct_query(imgid)
        apDatabase.setImgViewerStatus(imgdata, False)
예제 #3
0
def hideImage(imgid):
    imgdata = leginon.leginondata.AcquisitionImageData.direct_query(imgid)
    apDatabase.setImgViewerStatus(imgdata, False)