Skip to content

Commit

Permalink
Update service.py
Browse files Browse the repository at this point in the history
  • Loading branch information
miquelduranfrigola authored Apr 25, 2024
1 parent b095a12 commit 740c591
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,9 @@ def run(self, smiles_list):
h = next(reader)
R = []
for r in reader:
R += [[Float(x) for x in r]]
result = {
"result": R,
"meta": h
}
R += [{"outcome": [Float(x) for x in r]}]
meta = {"outcome": h}
result = {"result": R, "meta": meta}
return result


Expand Down

0 comments on commit 740c591

Please sign in to comment.