pacsretrieve/pacsretrieve.py
def outputFiles_generate(self, options, d_ret, l_dataStudy, l_dataSeries):
        """
        Check and generate output files.
        """
        if len(options.str_numberOfHitsFile):
            self.numberOfHitsReport_process(
                                        studyHits   = len(l_dataStudy),
                                        seriesHits  = len(l_dataSeries),
                                        hitsFile    = options.str_numberOfHitsFile
                                        )

        if len(options.str_resultFile):
            self.dataReport_process     (    
                                        results     = d_ret,
                                        resultFile  = options.str_resultFile
                                        )

        if len(options.str_seriesSummaryKeys) or len(options.str_studySummaryKeys):
            self.summaryReport_process  ( 
                                        dataStudy           = l_dataStudy,
                                        dataSeries          = l_dataSeries
                                        # seriesSummaryKeys   = options.str_seriesSummaryKeys,
                                        # seriesSummaryFile   = options.str_seriesSummaryFile,
                                        # studySummaryKeys    = options.str_studySummaryKeys,
                                        # studySummaryFile    = options.str_studySummaryFile
                                        )

        Check and generate output files.
        
Check and generate output files.
Check and generate output files .
def outputFiles_generate(self, options, d_ret, l_dataStudy, l_dataSeries):
        if len(options.str_numberOfHitsFile):
            self.numberOfHitsReport_process(
                                        studyHits   = len(l_dataStudy),
                                        seriesHits  = len(l_dataSeries),
                                        hitsFile    = options.str_numberOfHitsFile
                                        )
        if len(options.str_resultFile):
            self.dataReport_process     (    
                                        results     = d_ret,
                                        resultFile  = options.str_resultFile
                                        )
        if len(options.str_seriesSummaryKeys) or len(options.str_studySummaryKeys):
            self.summaryReport_process  ( 
                                        dataStudy           = l_dataStudy,
                                        dataSeries          = l_dataSeries
                                        )
def outputFiles_generate ( self , options , d_ret , l_dataStudy , l_dataSeries ) : if len ( options . str_numberOfHitsFile ) : self . numberOfHitsReport_process ( studyHits = len ( l_dataStudy ) , seriesHits = len ( l_dataSeries ) , hitsFile = options . str_numberOfHitsFile ) if len ( options . str_resultFile ) : self . dataReport_process ( results = d_ret , resultFile = options . str_resultFile ) if len ( options . str_seriesSummaryKeys ) or len ( options . str_studySummaryKeys ) : self . summaryReport_process ( dataStudy = l_dataStudy , dataSeries = l_dataSeries )
Check and generate output files.
Check and generate output files .
"""
        Check and generate output files.
        """ # seriesSummaryKeys   = options.str_seriesSummaryKeys, # seriesSummaryFile   = options.str_seriesSummaryFile, # studySummaryKeys    = options.str_studySummaryKeys, # studySummaryFile    = options.str_studySummaryFile
self
options
d_ret
l_dataStudy
l_dataSeries