Skip to content

Commit

Permalink
fix: correctly retrieve the Nextclade dataset version
Browse files Browse the repository at this point in the history
  • Loading branch information
chaoran-chen committed Feb 23, 2024
1 parent 834617d commit d32dc21
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -213,9 +213,8 @@ private fun getNextcladeDatasetVersion(): String {

return JSON.parseArray(output)
.getJSONObject(0)
.getJSONObject("attributes")
.getJSONObject("tag")
.getString("value")
.getJSONObject("version")
.getString("tag")
}

private fun transformNextcladeOutputToNdjson(
Expand Down

0 comments on commit d32dc21

Please sign in to comment.