diff --git a/common/lib/capa/capa/inputtypes.py b/common/lib/capa/capa/inputtypes.py index 3f01ed58a7..8360e06fbb 100644 --- a/common/lib/capa/capa/inputtypes.py +++ b/common/lib/capa/capa/inputtypes.py @@ -695,7 +695,7 @@ class VseprInput(InputTypeBase): @classmethod def get_attributes(cls): """ - Note: height, width are required. + Note: height, width, molecules and geometries are required. """ return [Attribute('height'), Attribute('width'), @@ -781,7 +781,7 @@ class OpenEndedInput(InputTypeBase): def _extra_context(self): """Defined queue_len, add it """ - return {'queue_len': self.queue_len,} + return {'queue_len': self.queue_len, } registry.register(OpenEndedInput) @@ -794,13 +794,13 @@ class DragAndDropInput(InputTypeBase): 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'] @classmethod def get_attributes(cls): """ - Note: height, width are required. + Note: height, width, template and images are required. """ return [Attribute('height'), Attribute('width'), diff --git a/common/lib/capa/capa/tests/test_inputtypes.py b/common/lib/capa/capa/tests/test_inputtypes.py index 743ac7a548..505b536ab6 100644 --- a/common/lib/capa/capa/tests/test_inputtypes.py +++ b/common/lib/capa/capa/tests/test_inputtypes.py @@ -511,7 +511,7 @@ class DragAndDropTest(unittest.TestCase): height = '12' width = '33' template = "path to template" - images = "path to images" + images = "list of pathes to images" xml_str = """