phetsims / gene-expression-essentials

An educational simulation about how genes work to create proteins.
GNU General Public License v3.0
4 stars 6 forks source link

commented out assertion in DnaMolecule should be fixed or removed #48

Closed jbphet closed 7 years ago

jbphet commented 7 years ago

The file DnaMolecule.js contains the line:

      // assert xOffset >= leftEdgeXOffset && xOffset < leftEdgeXOffset + moleculeLength;

This seems like a reasonable check, and I'm wondering why it is commented out. It should be added back, fixing it if possible, or removed if there is a good reason to do so.

aadish commented 7 years ago

fixed closing