Commit 0001a67c by Alexander Kryklia

update tag name

parent cc78ebe3
...@@ -695,7 +695,7 @@ class VseprInput(InputTypeBase): ...@@ -695,7 +695,7 @@ class VseprInput(InputTypeBase):
@classmethod @classmethod
def get_attributes(cls): def get_attributes(cls):
""" """
Note: height, width are required. Note: height, width, molecules and geometries are required.
""" """
return [Attribute('height'), return [Attribute('height'),
Attribute('width'), Attribute('width'),
...@@ -781,7 +781,7 @@ class OpenEndedInput(InputTypeBase): ...@@ -781,7 +781,7 @@ class OpenEndedInput(InputTypeBase):
def _extra_context(self): def _extra_context(self):
"""Defined queue_len, add it """ """Defined queue_len, add it """
return {'queue_len': self.queue_len,} return {'queue_len': self.queue_len, }
registry.register(OpenEndedInput) registry.register(OpenEndedInput)
...@@ -794,13 +794,13 @@ class DragAndDropInput(InputTypeBase): ...@@ -794,13 +794,13 @@ class DragAndDropInput(InputTypeBase):
pick structure and label positions with atoms or electron pairs. pick structure and label positions with atoms or electron pairs.
""" """
template = 'drag_and_drop.html' template = 'drag_and_drop_input.html'
tags = ['drag_and_drop_input'] tags = ['drag_and_drop_input']
@classmethod @classmethod
def get_attributes(cls): def get_attributes(cls):
""" """
Note: height, width are required. Note: height, width, template and images are required.
""" """
return [Attribute('height'), return [Attribute('height'),
Attribute('width'), Attribute('width'),
......
...@@ -511,7 +511,7 @@ class DragAndDropTest(unittest.TestCase): ...@@ -511,7 +511,7 @@ class DragAndDropTest(unittest.TestCase):
height = '12' height = '12'
width = '33' width = '33'
template = "path to template" template = "path to template"
images = "path to images" images = "list of pathes to images"
xml_str = """<drag_and_drop id="prob_1_2" xml_str = """<drag_and_drop id="prob_1_2"
height="{h}" height="{h}"
......
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