`set-default-session --tracks` generates incomplete session
See original GitHub issueset-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
jbrowse create
jbrowse add-assembly
jbrowse add-track
jbrowse set-default-session --tracks
- 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

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:
- Created 2 years ago
- Comments:13 (2 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
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.
@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