delete_molecule
- specatalog.crud_db.delete.delete_molecule(mol_id)[source]
Delete an entry from the molecule table with a given molecular-id.
- Parameters:
mol_id (int) – ID of the molecule that is to be deleted.
- Raises:
ValueError – An error is raised if no molecule with mol_id is part of the database.
- Return type:
None.