question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`set-default-session --tracks` generates incomplete session

See original GitHub issue

set-default-session --tracks generates tracks with minimal properties: “type” and “configuration”:

    "views": [
      {
        "id": "LinearGenomeView-12",
        "type": "LinearGenomeView",
        "tracks": [
          {
            "type": "QuantitativeTrack",
            "configuration": "monocot"
          },
          {
            "type": "AlignmentsTrack",
            "configuration": "zea_mays"
          },

This config.json results in a fatal error TypeError: Cannot read properties of undefined (reading 'height').

To Reproduce

  1. jbrowse create
  2. jbrowse add-assembly
  3. jbrowse add-track
  4. jbrowse set-default-session --tracks
  5. Open the configured app in a web browser.

Expected behavior

  • App should allow unset properties like height and show tracks with some default values.
  • set-default-session should set all the required properties.

Screenshots

Screen Shot 2022-02-02 at 17 56 50

Version:

@jbrowse/cli/1.6.4 darwin-x64 node-v16.13.21

Additional context

I am trying to automate jbrowse configuration to handle many different conditions and data. I hope everything can be done via CLI.

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:13 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
cmdcolincommented, Feb 6, 2022

thanks for the continued patience with this. Indeed, --out was not working. I have proposed a fix that allows it to work in #2715

also changes the name of the flag to be --root instead of --out/–target because it is indeed inconsistent, and since --out was not working anyways, hopefully the change is not disruptive.

0reactions
cmdcolincommented, Mar 18, 2022

@abretaud can you create a new issue or discussion for this? it’s hard to track too many branches on a thread 😃

just to try to address, I think displayCrossHatches is part of the “renderer” config. It is also part of the state model of the display to allow the user to select it via the UI. we could probably add it as a config of the display to make that easier

Read more comments on GitHub >

github_iconTop Results From Across the Web

Incomplete session data · Issue #81 · kleydon/prisma-session-store ...
Session data generated is incomplete, an invalid json object. ... So it turns out that the issue is due to the MySQL default...
Read more >
How to Create Your First Pro Tools Session - Sweetwater
To create a new session, select the audio settings you'd like to use and click ... Select the default audio file format for...
Read more >
Is there a way to avoid creating "status - Stack Overflow
My experience is that even if the payment fails, Stripe creates a subscription with status: incomplete which is then expired if no successful ......
Read more >
Cisco Enterprise Network Compute System Switch Command ...
To create a SPAN or RSPAN source session, use the monitor session source command in switch configuration mode. To remove a source session, ......
Read more >
Session templates and default sessions - Synchro Arts
To create a Default Session, we recommend the following steps: When you have a Session with Track names, orders of Tracks, pan, solo...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found