code: def adapt_obsres(self, obsres):
          
  
          _logger.debug('adapt observation result for work dir')
          for f in obsres.images:
              # Remove path components
              f.filename = os.path.basename(f.filename)
          return obsres
docs: Adapt obsres after file copy