def writeInput(self, session, directory, name):
        """
        Write only input files for a GSSHA project from the database to file.

        Args:
            session (:mod:`sqlalchemy.orm.session.Session`): SQLAlchemy session object bound to PostGIS enabled database
            directory (str): Directory where the files will be written.
            name (str): Name that will be given to project when written (e.g.: 'example'). Files that follow the project
                naming convention will be given this name with the appropriate extension (e.g.: 'example.prj',
                'example.cmt', and 'example.gag'). Files that do not follow this convention will retain their original
                file names.
        """
        self.project_directory = directory
        with tmp_chdir(directory):
            # Get param file for writing
            replaceParamFile = self.replaceParamFile

            # Write Project File
            self.write(session=session, directory=directory, name=name)

            # Write input files
            self._writeXput(session=session, directory=directory, fileCards=self.INPUT_FILES, name=name, replaceParamFile=replaceParamFile)

            # Write input map files
            self._writeXputMaps(session=session, directory=directory, mapCards=self.INPUT_MAPS, name=name, replaceParamFile=replaceParamFile)