Name to Structure or Reaction

Question types ::: qtype_easyoname
Maintained by Carl LeBlond
Name to structure (or reaction) question type. You can ask studnts to draw chemical structures or reactions. This plugin requires Marvin Applets from Chemaxon.
Latest release:
10 sites
2 fans
Current versions available: 1


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 Marvin Applets 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?


  • Utilizes Chemaxons extended smiles (cxsmiles) format with the unique option.
    • Supports reactions
    • E/Z and R/S stereochemistry
    • Unique smiles output
    • Lone pair and radical electrons and charges allowed.
  • Instructor builds structure in editor and easily inserts into answer fields


This plugin adopts the same license that Moodle does.  The Marvin Applets are free for academic purposes.


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


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


This plugin is part of set EasyOChem.


Screenshot #0
Screenshot #1


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

Comments RSS


  • Anthony Borrow
    Sun, Apr 20, 2014, 9:35 AM
    Carl - Many thanks for another fine organic chemistry question type. I forget whether I asked you about creating a set for these Marvin related question types but we can create a set to group them together so that folks know that they enhance one another (even if there is no dependency upon one another). If you would like to create a set, just let me know the title and a brief description and we will make it happen.

    I noticed that some of the copyrights reference a previous author. It is preferred that all of the files that you have modified for this plugin have your name listed (or added) as the copyright holder. You can patch those and the next time you have a new version you can incorporate those changes (in other words, no rush to fix it).

    I was successfully able to install the plugin and it appears to function as expected. As such, I am going to approve it.

    Code check results showed:

    Files found: 16
    question/type/easyoname/lib.php - 1 error(s) and 0 warning(s)
    question/type/easyoname/renderer.php - 3 error(s) and 0 warning(s)
    question/type/easyoname/edit_easyoname_form.php - 3 error(s) and 0 warning(s)
    question/type/easyoname/easyoname_script.js - 39 error(s) and 0 warning(s)
    question/type/easyoname/question.php - 1 error(s) and 0 warning(s)
    question/type/easyoname/lang/en/qtype_easyoname.php - 1 error(s) and 0 warning(s)
    question/type/easyoname/backup/moodle2/restore_qtype_easyoname_plugin.class.php - 1 error(s) and 0 warning(s)
    question/type/easyoname/backup/moodle2/backup_qtype_easyoname_plugin.class.php - 1 error(s) and 0 warning(s)
    question/type/easyoname/db/upgrade.php - 1 error(s) and 0 warning(s)
    question/type/easyoname/db/upgradelib.php - 1 error(s) and 0 warning(s)
    question/type/easyoname/version.php - 1 error(s) and 0 warning(s)
    question/type/easyoname/module.js - 1370 error(s) and 0 warning(s)
    question/type/easyoname/settings.php - 1 error(s) and 0 warning(s)
    question/type/easyoname/questiontype.php - 1 error(s) and 0 warning(s)
    Total: 1425 error(s) and 0 warning(s)

    It appeared most of the errors in question/type/easyoname/module.js were space related and may not be applicable since it is a js file.

    Please do not hesitate to let me know if there is anything I can do to be supportive of your efforts. Peace - Anthony
  • Anthony Borrow
    Sun, Apr 20, 2014, 1:06 PM
    Carl - When I attempted to approve this, I received an AMOS parsing error. Looking closely at the lang file, I noticed you had some string names with a capital H which apparently set off its own type of H-bomb ;) In any case, if you could rename those strings to all lowercase in the lang file and then in the code where they are used then we should be able to get this approved. Peace -Anthony
  • Mon, Apr 21, 2014, 10:54 PM
    Anthony - I fixed the language strings and the copyright references. I also cleaned the code and ran code checker. Only problem is the minified plugindetect in module.js.

    Can we include all of my question types and filters into one set called "EasyOChem Organic Chemistry Set"?

    Thanks for all your help. - Carl
  • Anthony Borrow
    Wed, Apr 23, 2014, 9:39 AM
    Thanks for tidying things up. I think we are ready to approve this plugin. I have created the set Feel free to let me know if you have better ideas for the name or description. I figured EasyOChem was pretty straightforward for a name. If you need anything else just let me know. Peace - Anthony
  • Fri, Jul 10, 2020, 9:14 PM
    Hi, Is there any plans to update this plugin to version 3.8 / 3.9 / 4.0?
Please login to post comments