code: def addToDB(abbr = None, dbname = manualDBname):
      
      dbLoc = os.path.normpath(os.path.dirname(__file__))
      with dbm.dumb.open(dbLoc + '/' + dbname) as db:
          if isinstance(abbr, str):
              db[abbr] = abbr
          elif isinstance(abbr, dict):
              try:
                  db.update(abbr)
              except TypeError:
                  raise TypeError("The keys and values of abbr must be strings.")
          elif abbr is None:
              pass
          else:
              raise TypeError("abbr must be a str or dict.")
docs: Adds _abbr_ to the database of journals. The database is kept separate from the one scraped from WOS, this supersedes it. The database by default is stored with the WOS one and the name is given by `metaknowledge.journalAbbreviations.manualDBname`. To create an empty database run **addToDB** without an _abbr_ argument.
  
      # Parameters
  
      _abbr_ : `optional [str or dict[str : str]]`
  
      > The journal abbreviation to be added to the database, it can either be a single string in which case that string will be added with its self as the full name, or a dict can be given with the abbreviations as keys and their names as strings, use pipes (`'|'`) to separate multiple names. Note, if the empty string is given as a name the abbreviation will be considered manually __excluded__, i.e. having excludeFromDB() run on it.
  
      _dbname_ : `optional [str]`
  
      > The name of the database file, default is `metaknowledge.journalAbbreviations.manualDBname`.