![]() ![]() ![]() Add a Lewis structure as the correct answer using one of these methods.Grading choices for hydrogen atoms and lone pair electrons. ![]() Draw as the kind of answer students must provide.The Lewis drawing tool opens with authoring options and a few defaults selected, including: Do NOT press Ctrl+S ( Windows) or Command-S ( Mac OS). To save your edits, select Save (from the top toolbar) or the Save & Preview link (top right).Add follow-up text in response to completed part questions (Optional).Add wrong-answer feedback to help students (Optional).For instructions, see the sections below. You can also add the following related to the correct answer. Add an additional correct answer (Optional).For detailed instructions, see the sections below. In the Answer box, enter the following information. Select the dropdown menu next to Answer Type (on the right) and choose chemical drawing - Lewis. Scroll down to the Answer box for the part. Select Create New Item (page bottom) next to "Can't find what you need?" The Simple Editor opens in a new window.Select Item Library from the course menu. Here's a picture of the code and the resulting image.Video: Create a Lewis structures chemical drawing question using the Simple Editorįrom the Modified Mastering course menu, select Instructor Tools then Item Library. Penicillin_g_smiles = Chem.MolFromSmiles(penicillin_g_smiles)ĭraw.MolToMPL(penicillin_g, size=(200, 200)) Here is one way to convert a SMILES to a structure in rdkit. It does a whole lot more than convert SMILES to structures see some examples here.If you happen to be fluent in C++, a C++ API is available. The Python API provides access to these functions in Python, making it flexible and easy to learn. The Python API makes using rdkit easy, but all the core functions are written C++, making it fast and efficient.The license is quite permissive you don't need to worry about what type of work (commercial, personal, or academic) you are doing.The code base is available in GitHub, here.Most people use rdkit via its Python interface. In addition to the other good answers, I'd recommend rdkit, an open-source, freely available software for chemoinformatics. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |