code: def out_to_in(self, out_file):
          
          in_file = os.path.basename(out_file).replace("out", "in", 1)
          dest = os.path.join(self.indir.path, in_file)
  
          if os.path.exists(dest) and not os.path.islink(dest):
              logger.warning("Will overwrite %s with %s" % (dest, out_file))
  
          os.rename(out_file, dest)
          return dest
docs: Move an output file to the output data directory of the `Task`
          and rename the file so that ABINIT will read it as an input data file.
  
          Returns:
              The absolute path of the new file in the indata directory.