The community-developed PLUgin for MolEcular Dynamics
')
-print('')
+print(
+ '
The community-developed PLUgin for MolEcular Dynamics
'
+)
+print("")
print('', flush=True)
# Putting this here You can see render the page while it is being generated
-print( PlumedToHTML.get_html_header() )
+print(PlumedToHTML.get_html_header())
f = open("./tdata/tests.json")
tests = json.load(f)
f.close()
-for item in tests["regtests"] :
- actions = set({})
- out = PlumedToHTML.test_and_get_html( item["input"], "plinp" + str(item["index"]), actions=actions )
-
- print(f"
Input number {item['index']}
")
- #this visualizes the "from-to" and it is more clear to eye-check what is going on
- print("
")
- print(item["input"])
- print("
")
- print( out )
+for item in tests["regtests"]:
+ actions = set({})
+ out = PlumedToHTML.test_and_get_html(
+ item["input"], "plinp" + str(item["index"]), actions=actions
+ )
+
+ print(f"
Input number {item['index']}
")
+ # this visualizes the "from-to" and it is more clear to eye-check what is going on
+ print("
")
+ print(item["input"])
+ print("
")
+ print(out)
f = open("./tdata/cltooltests.json")
tests = json.load(f)
f.close()
-for item in tests["regtests"] :
- out = PlumedToHTML.get_cltoolarg_html( item["input"], "clinp" + str(item["index"]), ("plumed",) )
- #this visualizes the "from-to" and it is more clear to eye-check what is going on
- print(f"
CL tool input number {item['index']}
")
- print("
")
- print(item["input"])
- print("
")
- print( out )
+for item in tests["regtests"]:
+ out = PlumedToHTML.get_cltoolarg_html(
+ item["input"], "clinp" + str(item["index"]), ("plumed",)
+ )
+ # this visualizes the "from-to" and it is more clear to eye-check what is going on
+ print(f"
CL tool input number {item['index']}
")
+ print("
")
+ print(item["input"])
+ print("
")
+ print(out)
f = open("./tdata/clfiletests.json")
tests = json.load(f)
f.close()
-for item in tests["regtests"] :
- out = PlumedToHTML.get_cltoolfile_html( item["input"], "clinp" + str(item["index"]), ("plumed",) )
- #this visualizes the "from-to" and it is more clear to eye-check what is going on
- print(f"
CL file input number {item['index']}
")
- print("
")
- print(item["input"])
- print("
")
- print( out )
+for item in tests["regtests"]:
+ out = PlumedToHTML.get_cltoolfile_html(
+ item["input"], "clinp" + str(item["index"]), ("plumed",)
+ )
+ # this visualizes the "from-to" and it is more clear to eye-check what is going on
+ print(f"