code: def write_input(self, atoms=None, properties=['energy'], system_changes=all_changes):
          '''Write input file(s).'''
          with work_dir(self.directory):
              self.calc.write_input(self, atoms, properties, system_changes)
              self.write_pbs_in(properties)
              subprocess.call(self.copy_out_cmd % {
                                  'ldir': self.directory,
                                  'rdir': self.parameters['rdir'],
                                  'user': self.parameters['user'],
                                  'host': self.parameters['host']
                              }, shell=Truef write_input(self, atoms=None, properties=['energy'], system_changes=all_changes):
          '''Write input file(s).'''
          with work_dir(self.directory):
              self.calc.write_input(self, atoms, properties, system_changes)
              self.write_pbs_in(properties)
              subprocess.call(self.copy_out_cmd % {
                                  'ldir': self.directory,
                                  'rdir': self.parameters['rdir'],
                                  'user': self.parameters['user'],
                                  'host': self.parameters['host']
                              }, shell=True)
docs: Write input file(s).