Describe the bug
I have been using jbrowse set-default-session with --view and --tracks options. Unfortunately they were removed in 2.10.2. The removal was announced as a bug fix, but actually that was a breaking change in the existing API, which I think deserves at least a minor version bump. Anyway, now I am struggling to build a new pipeline to setup a new session via CLI in newer versions. The first attempt was to simply remove --view and --tracks options from the command, but the command resulted in an error "Error: Please either provide a default session file". It does not make sense.
To Reproduce
- Create a new config:
jbrowse create ...
- Add an assembly and tracks to the target config:
jbrowse add-assembly ...; jbrowse add-track ...
- Try to create a default session to the target config:
jbrowse set-default-session ...
Expected behavior
A default session can be created with a view and tracks. Even though the previous behavior of set-default-session was not perfect as stated in #2708 and #4146, it was much better than "not provided at all".
Screenshots
Version:
- @jbrowse/cli 2.10.1: OK
- @jbrowse/cli 2.10.2: NG
- @jbrowse/cli 2.11.2: NG
Additional context
Describe the bug
I have been using
jbrowse set-default-sessionwith--viewand--tracksoptions. Unfortunately they were removed in 2.10.2. The removal was announced as a bug fix, but actually that was a breaking change in the existing API, which I think deserves at least a minor version bump. Anyway, now I am struggling to build a new pipeline to setup a new session via CLI in newer versions. The first attempt was to simply remove--viewand--tracksoptions from the command, but the command resulted in an error "Error: Please either provide a default session file". It does not make sense.To Reproduce
jbrowse create ...jbrowse add-assembly ...;jbrowse add-track ...jbrowse set-default-session ...Expected behavior
A default session can be created with a view and tracks. Even though the previous behavior of
set-default-sessionwas not perfect as stated in #2708 and #4146, it was much better than "not provided at all".Screenshots
Version:
Additional context