Searched refs:type (Results 1 - 25 of 61) sorted by relevance

123

/ec/ECQuiz/Products/ECQuiz/
H A Dconfig.py36 ret = [type[:-3] for type in ret
37 if type.endswith('.py') and (not type.startswith('__'))]
H A Dwikitool.py54 if type(parse_tree[0]) is str:
59 if parse_tree and type(parse_tree[0]) is list and str(parse_tree[0][0]).startswith(':'):
100 if type(elem) is list: # Elements must be lists
101 content_type = str(elem[0]); del elem[0] # and should have a type
109 if elem and type(elem[0]) is str: elem_title = elem[0]; del elem[0]
116 if elem and type(elem[0]) is list and str(elem[0][0]).startswith(':'):
143 if elem and type(elem[0]) is str: elem_title = elem[0]; del elem[0]
148 if elem and type(elem[0]) is int: quest.setPoints(elem[0]); del elem[0]
150 if elem and type(elem[0]) is str: quest.setQuestion(elem[0]); del elem[0]
154 if elem and type(ele
[all...]
/ec/ECAssignmentBox/Products/ECAssignmentBox/PlagDetector/Normalize/
H A DnormNormal.py48 elif type(string) != type(''):
49 raise NoValidArgumentError, 'Input must be of type String.'
H A DnormPython.py92 elif type(string) != type(''):
93 raise NoValidArgumentError, 'Input must be of type String.'
255 if type(lineNrList[c.posEnd]) == type([]): #TODO: 250107
273 if type(nr) == type([]):
281 if type(nr) == type([]):
293 # if type(
[all...]
/ec/ECSpooler/tests/
H A DProgrammingBackendTestCase.py28 "Result is not an instance of BackendResult; %s" % type(result))
43 "Result is not an instance of BackendResult; %s" % type(result))
H A DtestSpooler.py43 self.assertTrue(type(pid) == IntType)
50 self.assertTrue(type(status) == DictType)
56 self.assertTrue(type(backends) == DictType)
62 self.assertTrue(type(backends) == DictType)
/ec/ECAssignmentBox/Products/ECAssignmentBox/PlagDetector/Visualize/
H A Ddotplot.py49 if type(result) != type(PlagResult()):
50 raise NoValidArgumentError, 'Input must be of type PlagResult.'
52 raise NoValidArgumentError, 'Input must be of type PlagResult not None.'
88 raise NoValidArgumentError, 'Input must be of type string not None'
89 elif type(s1) != type("") or type(s2) != type(""):
90 raise NoValidArgumentError, 'Input must be of type strin
[all...]
H A Dpatterngram.py70 if type(basefile) != type(""):
71 raise NoValidArgumentError, "basefile must be of type string"
72 elif type(ensemble) != type([]):
73 raise NoValidArgumentError, "ensemble must be of type list"
74 elif type(klength) != type(1):
75 raise NoValidArgumentError, "klength must be of type integer"
179 if type(basefil
[all...]
H A Dtorc.py49 if type(resultList) != type([]):
50 raise NoValidArgumentError, 'Input must be of type list'
55 if type(result) != type(PlagResult()):
56 raise NoValidArgumentError, 'Input list should only contain values of type PlagResult.'
/ec/ECAssignmentBox/Products/ECAssignmentBox/PlagDetector/Detection/
H A DalgGSTNormal.py66 raise NoValidArgumentError, 'input must be of type string not None'
67 if type(s1) != type('') or type(s2) != type(''):
68 raise NoValidArgumentError, 'input must be of type string'
H A DalgNGRAM.py71 if type(treshold) == type([]):
79 raise NoValidArgumentError, 'input must be of type string not None'
80 if type(s1) != type('') or type(s2) != type(''):
81 raise NoValidArgumentError, 'input must be of type string'
161 if type(treshold) == type([])
[all...]
H A DalgGST.py72 raise NoValidArgumentError, 'input must be of type string not None'
73 if type(s1) != type('') or type(s2) != type(''):
74 raise NoValidArgumentError, 'input must be of type string'
/ec/ECAssignmentBox/Products/ECAssignmentBox/PlagDetector/
H A DPlagResult.py55 if type(tiles) != type([]):
56 raise NoValidArgumentError, 'tiles must be of type list'
103 if type(value) != type(True):
104 raise NoValidArgumentError, 'Input must be of type boolean.'
H A DPlagChecker.py92 if type(stringList) != type([]):
93 raise NoValidArgumentError, 'Input stringList must be of type list.'
94 elif type(idList) != type([]):
95 raise NoValidArgumentError, 'Input idList must be of type list.'
/ec/ECSpooler/lib/util/
H A Dauth.py64 assert type(args) == DictionaryType, \
65 "Invalid data structure (%s)" % str(type(args))
76 assert username and type(username) in (StringType, UnicodeType), \
78 assert password and type(password) in (StringType, UnicodeType), \
H A DQueueItem.py22 assert type(data) == dict, 'data in QueueItem must be a dictionary.'
/ec/ECSpooler/backends/haskellext/
H A DHaskellExt.py111 repeatFields = self.schema.filterFields(type='RepeatField')
130 assert model and type(model) in StringTypes, \
133 assert submission and type(submission) in StringTypes, \
170 for field in self.schema.filterFields(type='InputField'):
/ec/ECSpooler/backends/xml/doc/
H A DXMLHandbuch.tex37 \captionsetup{type=figure}
48 \captionsetup{type=figure}
59 \captionsetup{type=figure}
67 \captionsetup{type=figure}
87 \captionsetup{type=figure}
98 \captionsetup{type=figure}
109 \captionsetup{type=figure}
118 \captionsetup{type=figure}
128 \captionsetup{type=figure}
164 \captionsetup{type
[all...]
/ec/ECSpooler/backends/xml/
H A DXML.py177 inputFields = self.schema.filterFields(type='InputField')
182 repeatFields = self.schema.filterFields(type='RepeatField')
240 assert submission and type(submission) in (str, UnicodeType), \
286 assert submission and type(submission) in (str, UnicodeType), \
340 assert submission and type(submission) in (str, UnicodeType), \
349 repeatField = self.schema.filterFields(type='RepeatField')[0]
/ec/ECAutoAssessmentBox/Products/ECAutoAssessmentBox/content/
H A DDynamicDataField.py59 'type' : 'dynamicdata',
95 if content_instance is not None and type(value) in [StringType, UnicodeType]:
105 LOG.warn('Unhandled type in fields')
115 __traceback_info__ = value, type(value)
159 #if type(data) != DictionaryType:
/ec/ECSpooler/backends/keywords/
H A DKeywords.py126 repeatFields = self.schema.filterFields(type='RepeatField')
144 assert submission and type(submission) in (StringType,
/ec/ECSpooler/lib/
H A DService.py47 assert host and type(host) in StringTypes, \
50 assert port and type(port) == IntType, \
/ec/ECSpooler/backends/cl/
H A DCl.py254 repeatFields = self.schema.filterFields(type='RepeatField')
273 assert model and type(model) in StringTypes, \
277 assert submission and type(submission) in StringTypes, \
311 for field in self.schema.filterFields(type='InputField'):
/ec/ECSpooler/backends/erlang/
H A DErlang.py187 repeatFields = self.schema.filterFields(type='RepeatField')
207 assert model and type(model) in (StringType, UnicodeType), \
211 assert submission and type(submission) in (StringType, UnicodeType), \
279 for field in self.schema.filterFields(type='InputField'):
/ec/ECSpooler/backends/haskell/
H A DHaskell.py258 repeatFields = self.schema.filterFields(type='RepeatField')
278 assert model and type(model) in StringTypes, \
281 assert submission and type(submission) in StringTypes, \
310 for field in self.schema.filterFields(type='InputField'):

Completed in 36 milliseconds

123