Skip to content
Snippets Groups Projects
Commit fcee9cd1 authored by tuhe's avatar tuhe
Browse files

Viewing of remote results

parent 72a71ca6
Branches
No related tags found
No related merge requests found
...@@ -339,6 +339,7 @@ def checkout_remote_results(remote_url, manifest): ...@@ -339,6 +339,7 @@ def checkout_remote_results(remote_url, manifest):
mf = [m.strip().split(" ")[-1] for m in manifest.strip().splitlines()] mf = [m.strip().split(" ")[-1] for m in manifest.strip().splitlines()]
a = 23 a = 23
html = None html = None
url = None
for hash in reversed(mf): for hash in reversed(mf):
if hash_string(hash) in remote: if hash_string(hash) in remote:
url = f"{remote_url}/{os.path.dirname( remote[hash_string(hash)] )}/{hash}/index.html" url = f"{remote_url}/{os.path.dirname( remote[hash_string(hash)] )}/{hash}/index.html"
...@@ -356,7 +357,7 @@ def checkout_remote_results(remote_url, manifest): ...@@ -356,7 +357,7 @@ def checkout_remote_results(remote_url, manifest):
# print( df.to_string(index=False) ) # print( df.to_string(index=False) )
# df.as # df.as
result = dict(html=html, df=df, score=float( df.iloc[2].to_list()[-1] )) result = dict(html=html, df=df, score=float( df.iloc[2].to_list()[-1] ), url=url)
else: else:
result=dict(html=html) result=dict(html=html)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment