cagey.queries.insert_nmr_spectrum#

cagey.queries.insert_nmr_spectrum(connection, reaction_key, spectrum, *, commit=True)[source]#

Insert an NMR spectrum into the database.

Parameters:
  • connection (Connection) – A SQLite connection.

  • reaction_key (ReactionKey) – The reaction key.

  • spectrum (NmrSpectrum) – The NMR spectrum.

  • commit (bool) – Whether to commit the transaction.

Return type:

None