pacsretrieve/pacsretrieve.py
def run(self, options):
        """
        Define the code to be run by this plugin app.
        """

        d_ret                       = {
            'status': False
        }

        self.options                = options

        self.b_pfurlQuiet           = options.b_pfurlQuiet
        self.b_serviceCallQuiet     = options.b_serviceCallQuiet
        self.str_outputDir          = options.outputdir
        self.str_inputDir           = options.inputdir

        self.str_seriesSummaryKeys  = options.str_seriesSummaryKeys
        self.str_seriesSummaryFile  = options.str_seriesSummaryFile
        self.str_studySummaryKeys   = options.str_studySummaryKeys
        self.str_studySummaryFile   = options.str_studySummaryFile

        if options.b_version:
            print(str_version)

        # pudb.set_trace()

        if not self.manPage_checkAndShow(options) and not options.b_version:
            if len(options.str_pfdcm):
                self.str_pfdcm      = options.str_pfdcm
                if not self.directMessage_checkAndConstruct(options):
                    if options.str_action == 'query':
                            d_ret = self.query_run(options)
                    if options.str_action == 'retrieve': 
                            d_ret = self.retrieve_run(options)
        return d_ret

        Define the code to be run by this plugin app.
        
Define the code to be run by this plugin app.
Define the code to be run by this plugin app .
def run(self, options):
        d_ret                       = {
            'status': False
        }
        self.options                = options
        self.b_pfurlQuiet           = options.b_pfurlQuiet
        self.b_serviceCallQuiet     = options.b_serviceCallQuiet
        self.str_outputDir          = options.outputdir
        self.str_inputDir           = options.inputdir
        self.str_seriesSummaryKeys  = options.str_seriesSummaryKeys
        self.str_seriesSummaryFile  = options.str_seriesSummaryFile
        self.str_studySummaryKeys   = options.str_studySummaryKeys
        self.str_studySummaryFile   = options.str_studySummaryFile
        if options.b_version:
            print(str_version)
        if not self.manPage_checkAndShow(options) and not options.b_version:
            if len(options.str_pfdcm):
                self.str_pfdcm      = options.str_pfdcm
                if not self.directMessage_checkAndConstruct(options):
                    if options.str_action == 'query':
                            d_ret = self.query_run(options)
                    if options.str_action == 'retrieve': 
                            d_ret = self.retrieve_run(options)
        return d_ret
def run ( self , options ) : d_ret = { 'status' : False } self . options = options self . b_pfurlQuiet = options . b_pfurlQuiet self . b_serviceCallQuiet = options . b_serviceCallQuiet self . str_outputDir = options . outputdir self . str_inputDir = options . inputdir self . str_seriesSummaryKeys = options . str_seriesSummaryKeys self . str_seriesSummaryFile = options . str_seriesSummaryFile self . str_studySummaryKeys = options . str_studySummaryKeys self . str_studySummaryFile = options . str_studySummaryFile if options . b_version : print ( str_version ) if not self . manPage_checkAndShow ( options ) and not options . b_version : if len ( options . str_pfdcm ) : self . str_pfdcm = options . str_pfdcm if not self . directMessage_checkAndConstruct ( options ) : if options . str_action == 'query' : d_ret = self . query_run ( options ) if options . str_action == 'retrieve' : d_ret = self . retrieve_run ( options ) return d_ret
Define the code to be run by this plugin app.
Define the code to be run by this plugin app .
"""
        Define the code to be run by this plugin app.
        """ # pudb.set_trace()
self
options