// msa-format should be loaded first (once this is already provided), the
// loss in speed won"t matter much, since output of data is not a daily task
path = os.path.join(rcParams["_path"],"data","templates")
// load templates
template = template or os.path.join(path,"msa2html.html")
if template == "js":
template = os.path.join(path, "msa2html.js.html")
html = util.read_text_file(template)
css = util.read_text_file(keywords["css"] or os.path.join(path, "msa.css"))
js = util.read_text_file(keywords["js"] or os.path.join(path,"msa.js"))
// treat the msa-object as a file and try to load the file if this is the
// case
After Change
template = template_path("msa2html.js.html")
html = util.read_text_file(template)
css = util.read_text_file(keywords["css"] or template_path("msa.css"))
js = util.read_text_file(keywords["js"] or template_path("msa.js"))
// treat the msa-object as a file and try to load the file if this is the
// case