code: def run(configObj=None, input_dict={}, loadOnly=False):
      
      # If called from interactive user-interface, configObj will not be
      # defined yet, so get defaults using EPAR/TEAL.
      #
      # Also insure that the input_dict (user-specified values) are folded in
      # with a fully populated configObj instance.
      configObj = util.getDefaultConfigObj(__taskname__,configObj,input_dict,loadOnly=loadOnly)
      if configObj is None:
          return
      # Define list of imageObject instances and output WCSObject instance
      # based on input paramters
      imgObjList,outwcs = processInput.setCommonInput(configObj)
  
      # Build DQ masks for all input images.
      buildMask(imgObjList,configObj)
docs: Build DQ masks from all input images, then apply static mask(s).