Exemple #1
0
 def terminated(self):
     """Copy output file to main directory"""
     try:
         copyfile(os.path.join(self.output_dir, self.output_file),
                  self.input_dir)
     except:
         gc3libs.log.warning(
             "Ignoring error copying file %s to %s" % (os.path.join(
                 self.output_dir, self.output_file), self.input_dir))
Exemple #2
0
 def terminated(self):
     """Copy colorized image to the output dir"""
     try:
         copyfile(os.path.join(self.output_dir, self.output_file),
                  self.working_dir)
     except:
         gc3libs.log.warning(
             "Ignoring error copying file %s to %s." % (os.path.join(
                 self.output_dir, self.output_file), self.working_dir))
Exemple #3
0
 def terminated(self):
     """Move grayscale image to the main output dir"""
     try:
         copyfile(os.path.join(self.output_dir, self.grayscaled_image),
                  self.warhol_dir)
     except:
         gc3libs.log.warning(
             "Ignoring error copying file %s to %s" % (os.path.join(
                 self.output_dir, self.grayscaled_image), self.warhol_dir))
Exemple #4
0
 def terminated(self):
     """Copy output file to main directory"""
     try:
         copyfile(os.path.join(self.output_dir, self.output_file), self.input_dir)
     except:
         gc3libs.log.warning(
             "Ignoring error copying file %s to %s"
             % (os.path.join(self.output_dir, self.output_file), self.input_dir)
         )
Exemple #5
0
 def terminated(self):
     """Copy colorized image to the output dir"""
     try:
         copyfile(os.path.join(self.output_dir, self.output_file), self.working_dir)
     except:
         gc3libs.log.warning(
             "Ignoring error copying file %s to %s."
             % (os.path.join(self.output_dir, self.output_file), self.working_dir)
         )
Exemple #6
0
 def terminated(self):
     """Move grayscale image to the main output dir"""
     try:
         copyfile(os.path.join(self.output_dir, self.grayscaled_image), self.warhol_dir)
     except:
         gc3libs.log.warning(
             "Ignoring error copying file %s to %s"
             % (os.path.join(self.output_dir, self.grayscaled_image), self.warhol_dir)
         )