import olex import olx from olexFunctions import OlexFunctions OV = OlexFunctions() def BGColorForValue(value): if value == '' or value == '?': return "#FFDCDC" return OV.GetParam('gui.html.input_bg_colour') class MultipleDataset: def check(self): if olx.IsFileType('cif') == 'false': return False if int(olx.xf_DataCount()) <= 1: return False return True def generateHtml(self): html = "
" + olx.xf_DataName(i) + " (*) | " else: html += ""\ + olx.xf_DataName(i) + " | " return html + "