Skip to content

Commit 28fa738

Browse files
committed
ss-main: added the template file
1 parent 031660d commit 28fa738

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

global_chem_extensions_package/global_chem_extensions/analysis_tools/smarts_pattern_identifier/smarts_pattern_identifier.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
from flask import Flask
1717
from flask import request
18-
from flask import render_template
18+
from flask import render_template_string
1919

2020
# RDkit Imports
2121
# -------------
@@ -285,9 +285,9 @@ def create_smarts_data():
285285
entry[name] = ''
286286
data.append(entry)
287287

288-
return render_template(self.html, data=data, patts=patterns)
288+
return render_template_string(self.html, data=data, patts=patterns)
289289

290-
return render_template(self.html)
290+
return render_template_string(self.html)
291291

292292
return app
293293

0 commit comments

Comments
 (0)