Question types: Java Molecular Editor

qtype_jme
Maintained by Picture of Jean-Michel Védrine Jean-Michel Védrine
Question type created by Dan Stowell. The student draw a molecule as a response to a question using the editor and that response is graded by comparing against various model answers. Old version of the JME question type were using a java applet, but this question type now uses a Javascript applet: JSME. JSME is a free and Open source molecule editor written in JavaScript.
197 sites
575 downloads
6 fans

The JME editor can be used to design molecular structures, so you
can ask questions such as "Please draw the structure of
2,3-dichloro-but-2-ene". In order to mark responses, they need to
be converted to a simple text format called SMILES (see
http://www.daylight.com/smiles/ for more information).

So, the student must design the molecule, using the JSME Javascript Applet.
The content of the student response is automatically saved when the
student change page in the quiz either by pressing on the "Next"
button, or using the quiz navigation panel. When quiz attempt is
submitted, this response is then marked in the same way as a
(case-sensitive) short-answer question.

You can use a similar process when designing the question. Using
the JME applet, design a molecule that is a possible (right or
wrong) answer and then press a button next to the answer boxes
to store the current design as a SMILES code.

JSME is a free and Open source molecule editor written in JavaScript.

See B. Bienfait and P. Ertl, JSME: a free molecule editor in JavaScript, J. Cheminformatics 5:24 (2013)

Sets

This plugin is part of set Seeking new maintainer.

Potential privacy issues

It is not possible to use versions 1.x of this plugin without obtaining (see http://www.molinspiration.com/jme/getjme.html ) the JMEMolecularEditor© Java archive from Peter Ertl and installing it on your server (you need to put a copy of the JME.jar file in the question/type/jme/jme/ subfolder). This required code is closed source and as such has not been validated during plugin approval. Versions 2.x of this plugin use a Javascript Molecule Editor JSME which is Open source and freely available at http://peter-ertl.com/jsme/.

Screenshots

Screenshot #0

Contributors

Picture of Jean-Michel Védrine
Jean-Michel Védrine (Lead maintainer)
Picture of Dan Stowell
Dan Stowell: Original Author
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Picture of Jean-Michel Védrine
    Tue, 2 Jul 2013, 9:33 PM
    I hav estarted a Moodle docs page for this question type at http://docs.moodle.org/25/en/question/type/jme (I choose this page as it is the one linked to when a user press the "More help" link in the help of the "editing a java molecular editor question" Moodle page.
    Of course it is far from complete and the screenshot would need some update as it was taken with an old version of the JMe question type, but this is a start.
  • Picture of Jean-Michel Védrine
    Tue, 2 Jul 2013, 9:35 PM
    I have a problem: I don't know how to add Dan Stowell as a contributor as I am not able to find his username on moodle.com because he is no more subscribed to any course. Can you help me ?
  • Picture of Jean-Michel Védrine
    Wed, 3 Jul 2013, 2:07 AM
    I was able to contact Dan Stowell and to add him as a contributor. He was quite surprised to hear that jme question type is still alive smile
  • MD shot of me from his iphone4
    Wed, 3 Jul 2013, 11:45 AM
    Hi Jean-Michel,
    I understand and sympathise.
    Thanks for highlighting qtype_pmatchjme, i see it too relies on the closed JME.jar but doesn't distribute it.

    I will discuss this further as i do, personally, feel its not fair too.
  • Martin Dougiamas
    Wed, 3 Jul 2013, 12:00 PM
    In my opinion this is similar to any integration plugin that relies on extra things to work. As long as the plugin actually installs and uninstalls without the JME plugin, then I have no problem with it (ie the fact it isn't useful is not our concern).

    I'm OK to approve this IF (and only if):

    1) We give users FULL information on the dependency and what they need to do, in the description of this plugin and also qtype_pmatchjme.
    2) We make it explicit that JME is closed source and that we cannot vouch for it. The risk is all theirs to judge from the JME web site.
  • MD shot of me from his iphone4
    Wed, 3 Jul 2013, 2:07 PM
    Further to that, I've realised that the 'Potential privacy issues' field looks like a useful field to use to highlight the nature of risks involved here.

    I've added a FAQ here to clarify this: http://docs.moodle.org/dev/Plugin_validation#Q:_I.27ve_a_plugin_to_share_that_requires_closed_.28or_non-GPL_compatible.29_source_software._Can_i_share_this_in_the_plugins_directory.3F

    Jean-Michel, installation and using the plugin was no issue for me so i'll wait for the required changes to description before approving this.
  • Picture of Jean-Michel Védrine
    Wed, 3 Jul 2013, 2:46 PM
    Hello Aparup and Martin,
    I tried to modify description and Potential privacy issues accordingly to your comments. But as English is not my native language, I would feel more comfortable if somebody else can verify the text. Fell free to edit it.
  • Picture of Jean-Michel Védrine
    Wed, 3 Jul 2013, 2:50 PM
    Also thanks to Aparup for pointing me to the GPL compatible JSME javascript editor (I was not aware of it). I think it will be good to switch to JSME in a future version because it would be possible to use this plugin with mobiles.
    In fact I already started to do it, see https://moodle.org/mod/forum/discuss.php?d=231848 but I need some javascript help to finish the move.
  • MD shot of me from his iphone4
    Wed, 3 Jul 2013, 8:05 PM
    I think that works for me Jean-Michel smile , that and its a reddish field helps. ok, hitting the green light.

    Nice work on the quick start to change this!
  • Picture of Jean-Michel Védrine
    Tue, 11 Nov 2014, 4:07 AM
    Sorry it tooks so long to release a version using Open source JSME Modlecule Editor.
  • Ricardo Caiado
    Tue, 19 May 2015, 8:38 PM
    Just to let you know...

    http://peter-ertl.com/jsme/download/JSME_2015-05-14.zip

    "Not Found

    The requested URL /jsme/download/JSME_2015-05-14.zip was not found on this server.

    Apache/2.2.15 (CentOS) Server at peter-ertl.com Port 80"



  • Ricardo Caiado
    Wed, 7 Dec 2016, 8:36 PM
    Any upgrade to Moodle 3.2?
  • Picture of Jean-Michel Védrine
    Thu, 8 Dec 2016, 5:13 PM
    Hello,
    I am sorry but I am now retired and I stopped Moodle coding. So I will not publish new versions and this plugin needs a new maintainer
  • Picture of Miro Iliaš
    Thu, 18 May 2017, 2:31 AM
    Any news concerning an upgrade to Moodle 3.x ? Many organic chemistry teachers would welcome this question type.
  • Ricardo Caiado
    Thu, 18 May 2017, 2:36 AM
    I endorse it
1 2
Please login to post comments