Your Moodle version

Question types: Name to Structure or Reaction

qtype_easyoname
Maintained by Picture of Carl LeBlond 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.
1k

Overview

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?

Features

  • 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

License

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

Authors

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

Requirements

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.

Sets

This plugin is part of set EasyOChem.

Screenshots

Screenshot
Screenshot

Contributors

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

Comments RSS

Show comments
  • 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/easyoname_styles.css
    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)
    question/type/easyoname/README.txt
    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
  • Picture of Carl LeBlond
    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 https://moodle.org/plugins/browse.php?list=set&id=59. 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
Please login to post comments