Commit e6eedb92 by Александр

added chemtools to chem module in capa, and added it to global context

parent 6306d980
...@@ -32,6 +32,8 @@ from xml.sax.saxutils import unescape ...@@ -32,6 +32,8 @@ from xml.sax.saxutils import unescape
import chem import chem
import chem.chemcalc import chem.chemcalc
import chem.chemtools
import calc import calc
from correctmap import CorrectMap from correctmap import CorrectMap
import eia import eia
...@@ -78,7 +80,8 @@ global_context = {'random': random, ...@@ -78,7 +80,8 @@ global_context = {'random': random,
'scipy': scipy, 'scipy': scipy,
'calc': calc, 'calc': calc,
'eia': eia, 'eia': eia,
'chemcalc': chem.chemcalc} 'chemcalc': chem.chemcalc,
'chemtools': chem.chemtools}
# These should be removed from HTML output, including all subelements # These should be removed from HTML output, including all subelements
html_problem_semantics = ["codeparam", "responseparam", "answer", "script", "hintgroup"] html_problem_semantics = ["codeparam", "responseparam", "answer", "script", "hintgroup"]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment