Name to Structure or Reaction (MarvinJS)

Question types ::: qtype_easyonamejs
Maintained by Carl LeBlond
Part of set EasyOChem.
Name to structure (or reaction) question type. You can ask students to draw chemical structures or reactions. This plugin requires MarvinJS from Chemaxon and openbabel.
Latest release:
27 sites
2 downloads
7 fans
Current versions available: 2

Overview

This software is no longer maintained and has been superseded by the OpenOChem LTI assessment system.

With this question type you can query students to reproduce a single molecule, set of molecules or reactions.  This question type is similar to Structure match with editor and the Pattern match with JME editor but offers some more advanced features (see features below).  This plugin requires MarvinJS from Chemaxon.

  • Please draw the structure of water showing all lone pairs?
  • Draw acetic acid and its dissociation in water?
  • Draw all stereoisomers for the following molecule?
  • Draw (R)-3-methyl-pentan-2-ol?

License

This plugin adopts the same license that Moodle does.  The MarvinJS is available from Chemaxon.

Authors

This plugin was developed by Carl LeBlond at the Indiana University of Pennsylvania (IUP).  Neither IUP or Carl LeBlond are affiliated with Chemaxon.

Requirements

This plugin requires MarvinJS from Chemaxon which can be downloaded here.  Download the full package and install it at your web servers root directory.

This plugin also requires openbabel.  On Ubuntu you can install with "sudo apt-get install openbabel".

Examples

Example are included in Moodle xml format in the examples folder.

Screenshots

Screenshot #0

Contributors

Carl LeBlond (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • David Mudrák
    Fri, 5 Sep 2014, 5:12 AM
    Thanks for sharing this plugin with the community. Please follow the recommendation raised by the plugin check tool and provide a screenshot that illustrates the question type in action. We plan to make use of these screenshots in the future. Thanks.

    Some CSS styles in your plugin do not have specific selectors (like .resizable) and may eventually affect other parts of Moodle as all CSS files from all components are concatenated. Please fix it to make sure the selector applies to the scope of your plugin only.

    Please note that the command argument passed to functions like proc_open() should be sanitized by something like escapeshellarg() in order to prevent eventual (security related) issues or problems caused by misconfiguration of the plugin.

    With the hope this would be fixed soon, you are cleared to land now. Welcome to the Plugins directory.
  • Carl LeBlond
    Sat, 6 Sep 2014, 8:50 AM
    David - I fixed the css specificity as you suggested, santized proc_open, tested and then uploaded new version. Thanks for your input!
  • Kathrin Osswald
    Wed, 2 Sep 2015, 4:20 PM
    Hi Carl, I just wanted to know for what exactly purpose the OpenBabel installation is required.
    I had an instance where I did not install OpenBabel and one where I installed it and I could not determine any differences.
    Could you please explain the need for it?
  • Carl LeBlond
    Wed, 2 Sep 2015, 8:03 PM
    Hi Kathrin - MarvinJS does not natively convert its structures to smiles, so openbabel is used to do the mdlmol file to smiles conversion. Without openbabel all answers will appear as correct.
  • Kathrin Osswald
    Wed, 2 Sep 2015, 8:36 PM
    Hi Carl, thanks for your answer! smile
  • Miro Iliaš
    Tue, 25 Apr 2017, 3:32 PM
    Hi, as Organic chemistry teacher, I am interested in this plugin. However, its web-site url http://nsm0351.nsm.iup.edu/ is not working...any help, please ?
  • Carlos Vega
    Sun, 11 Feb 2018, 3:55 PM
    I think it got pulled down sad
  • Fernanda R.
    Tue, 6 Oct 2020, 3:33 AM
    Hi, Is there any plans to update this plugin to version 3.8 / 3.9 / 4.0?
  • Seo Rocky
    Fri, 26 Mar 2021, 4:13 AM
    awsome
Please login to post comments