original_docstring: 
          Adds all of the entries to a specified SpectralCatalog database. The database defaults
          to the global database stored in the home directory. This method will remove everything
          in the database associated with this experiment's ID, and re-add the entries.
  
          Parameters
          ----------
          dbpath : str, optional
              path to a SpectralCatalog database. Defaults to the system-wide catalog.
  
          
docstring: Adds all of the entries to a specified SpectralCatalog database. The database defaults
  to the global database stored in the home directory. This method will remove everything
  in the database associated with this experiment's ID, and re-add the entries.
  
  Parameters
  
  dbpath : str, optional
  path to a SpectralCatalog database. Defaults to the system-wide catalog.
docstring_tokens: Adds all of the entries to a specified SpectralCatalog database . The database defaults to the global database stored in the home directory . This method will remove everything in the database associated with this experiment ' s ID and re - add the entries . Parameters dbpath : str optional path to a SpectralCatalog database . Defaults to the system - wide catalog .
code: def update_database(self, dbpath=None):
          """
          Adds all of the entries to a specified SpectralCatalog database. The database defaults
          to the global database stored in the home directory. This method will remove everything
          in the database associated with this experiment's ID, and re-add the entries.
  
          Parameters
          ----------
          dbpath : str, optional
              path to a SpectralCatalog database. Defaults to the system-wide catalog.
  
          """
          with database.SpectralCatalog(dbpath) as db_obj:
              # Tabula rasa
              db_obj.remove_experiment(self.session.experiment)
              ass_list = [assignment.__dict__ for assignment in self.assignments]
              db_obj.insert_multiple(ass_list)
code_tokens: def update_database ( self , dbpath = None ) : with database . SpectralCatalog ( dbpath ) as db_obj : db_obj . remove_experiment ( self . session . experiment ) ass_list = [ assignment . __dict__ for assignment in self . assignments ] db_obj . insert_multiple ( ass_list )
short_docstring: Adds all of the entries to a specified SpectralCatalog database.
short_docstring_tokens: Adds all of the entries to a specified SpectralCatalog database .
comment: """
          Adds all of the entries to a specified SpectralCatalog database. The database defaults
          to the global database stored in the home directory. This method will remove everything
          in the database associated with this experiment's ID, and re-add the entries.
  
          Parameters
          ----------
          dbpath : str, optional
              path to a SpectralCatalog database. Defaults to the system-wide catalog.
  
          """$SEP$# Tabula rasa