pacsretrieve/pacsretrieve.py
def queryTable_read(self, *args, **kwargs):
        """
        Read a JSON formatted query table generated by 'pacsquery'.
        """

        d_results       = {}
        options         = None
        for k,v in kwargs.items():
            if k == 'priorHitsTable':   self.str_priorHitsTable = v

        if len(self.str_priorHitsTable):
            str_FQresultFile    = os.path.join(self.str_inputDir, self.str_priorHitsTable)
            self.dp.qprint('Reading prior data results from %s' % str_FQresultFile )
            f = open(str_FQresultFile, 'r')
            self.d_query = json.load(f)
            f.close()

        Read a JSON formatted query table generated by 'pacsquery'.
        
Read a JSON formatted query table generated by 'pacsquery'.
Read a JSON formatted query table generated by ' pacsquery ' .
def queryTable_read(self, *args, **kwargs):
        d_results       = {}
        options         = None
        for k,v in kwargs.items():
            if k == 'priorHitsTable':   self.str_priorHitsTable = v
        if len(self.str_priorHitsTable):
            str_FQresultFile    = os.path.join(self.str_inputDir, self.str_priorHitsTable)
            self.dp.qprint('Reading prior data results from %s' % str_FQresultFile )
            f = open(str_FQresultFile, 'r')
            self.d_query = json.load(f)
            f.close()
def queryTable_read ( self , * args , ** kwargs ) : d_results = { } options = None for k , v in kwargs . items ( ) : if k == 'priorHitsTable' : self . str_priorHitsTable = v if len ( self . str_priorHitsTable ) : str_FQresultFile = os . path . join ( self . str_inputDir , self . str_priorHitsTable ) self . dp . qprint ( 'Reading prior data results from %s' % str_FQresultFile ) f = open ( str_FQresultFile , 'r' ) self . d_query = json . load ( f ) f . close ( )
Read a JSON formatted query table generated by 'pacsquery'.
Read a JSON formatted query table generated by ' pacsquery ' .
"""
        Read a JSON formatted query table generated by 'pacsquery'.
        """
self