jbrowse-components icon indicating copy to clipboard operation
jbrowse-components copied to clipboard

Track does not display in MultiQuantitativeTrack subadapters when using "name"

Open garrettjstevens opened this issue 3 years ago • 0 comments

In our volvox config, we have a track config like this:

{
  "type": "MultiQuantitativeTrack",
  "trackId": "volvox_microarray_multi",
  "name": "MultiWig",
  "assemblyNames": ["volvox"],
  "adapter": {
    "type": "MultiWiggleAdapter",
    "subadapters": [
      {
        "source": "k1",
        "type": "BigWigAdapter",
        "bigWigLocation": {
          "uri": "v1.cram.bw"
        }
      },
      {
        "source": "k2",
        "type": "BigWigAdapter",
        "bigWigLocation": {
          "uri": "v2.cram.bw"
        }
      },
      {
        "source": "k3",
        "type": "BigWigAdapter",
        "bigWigLocation": {
          "uri": "v3.cram.bw"
        }
      },
      {
        "source": "k4",
        "type": "BigWigAdapter",
        "bigWigLocation": {
          "uri": "v4.cram.bw"
        }
      }
    ]
  }
}

If you change "source" to "name" in all of those examples, the track labels still show up, but not the tracks. If you change only the top two "source" to "name", then two tracks show, but they are in the wrong place.

Link to reprodcution: https://s3.amazonaws.com/jbrowse.org/code/jb2/v2.1.0/index.html?config=test_data%2Fvolvox%2Fconfig.json&session=share-OYv_qFEsbq&password=vPWS3 (GitHub won't let me paste a screenshot of the problem right now...)

garrettjstevens avatar Aug 04 '22 22:08 garrettjstevens