Skip to content
Permalink
Browse files

convertFromV1: correctly export `url`

This is a bugfix as the (strain-related) URL was not being exported as per the v2 schema. See also 4989b30
  • Loading branch information...
jameshadfield committed Nov 5, 2019
1 parent 248ab75 commit 3838febd655b994f195a503301c5d4e7691bd926
Showing with 1 addition and 1 deletion.
  1. +1 −1 cli/server/convertJsonSchemas.js
@@ -305,7 +305,7 @@ const setNodeBranchAttrs = (v2) => {
traverseTree(v2.tree, (node) => {

if (node.attr) {
if (node.attr.url) node.url = node.node_attrs.url;
if (node.attr.url) node.node_attrs.url = node.attr.url;
if (node.attr.accession) node.node_attrs.accession = node.attr.accession;
}

0 comments on commit 3838feb

Please sign in to comment.
You can’t perform that action at this time.