Write project to directory

def write(self):
        """
        Write project to directory
        """
        # write data
        self.project_manager.writeInput(session=self.db_session,
                                        directory=self.project_directory,
                                        name=self.project_manager.name)