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:
25 sites
3 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

Vis kommentarer
  • David Mudrák
    tal. 5. sept. 2014, 05:12
    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
    arf. 6. sept. 2014, 08:50
    David - I fixed the css specificity as you suggested, santized proc_open, tested and then uploaded new version. Thanks for your input!
  • Kathrin Osswald
    pin. 2. sept. 2015, 16:20
    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
    pin. 2. sept. 2015, 20:03
    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
    pin. 2. sept. 2015, 20:36
    Hi Carl, thanks for your answer! smiler
  • Miro Iliaš
    mar. 25. apr. 2017, 15:32
    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
    sap. 11. febr. 2018, 15:55
    I think it got pulled down trist
  • Fernanda R.
    mar. 6. okt. 2020, 03:33
    Hi, Is there any plans to update this plugin to version 3.8 / 3.9 / 4.0?
  • Seo Rocky
    tal. 26. mar. 2021, 04:13
    awsome
Please login to post comments