Skip to content

Commit

Permalink
update api for rmse name
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexPatrie committed Oct 22, 2024
1 parent 85bfb0c commit 411216d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion compose_api/data_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ class ObservableData(BaseModel):

class SimulatorRMSE(BaseModel):
simulator: str
rmse_matrix: Dict[str, float]
rmse_scores: Dict[str, float]


class Output(BaseModel):
Expand Down
2 changes: 1 addition & 1 deletion compose_api/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -895,7 +895,7 @@ async def get_verification_output(job_id: str) -> VerificationOutput:
data.append(obs)
else:
for simulator_name, data_table in obs_data.items():
obs = SimulatorRMSE(simulator=simulator_name, rmse_matrix=data_table)
obs = SimulatorRMSE(simulator=simulator_name, rmse_scores=data_table)
data.append(obs)

output = VerificationOutput(
Expand Down

0 comments on commit 411216d

Please sign in to comment.