Exporting examples, viewing logdice, frequency, clusternum

also: cluster num for example on load handled
This commit is contained in:
2020-01-24 01:49:33 +01:00
parent d843080e40
commit 7e3fa499f8
5 changed files with 114 additions and 25 deletions

View File

@@ -1,4 +1,5 @@
from model.entry import Entry
from model.example import Example
from browser import window
class Model:
@@ -55,3 +56,6 @@ class Model:
xmlDoc = parser.parseFromString(xml_text, "text/xml")
self.entry = Entry(xmlDoc.querySelector("entry"))
# we need to fix the example clusters
Example.add_clusters(self.entry)