Skip to content

Add ?data= parameter#4852

Open
cmdcolin wants to merge 1 commit intomainfrom
datadir_param
Open

Add ?data= parameter#4852
cmdcolin wants to merge 1 commit intomainfrom
datadir_param

Conversation

@cmdcolin
Copy link
Copy Markdown
Collaborator

This allows users to specify ?data=test_data to load test_data/config.json

This was proposed previously but stopped to let perfect be the enemy of good...maybe just let a little imperfect in #3192

@cmdcolin
Copy link
Copy Markdown
Collaborator Author

(the imperfect being the use of trailing slash to join the config.json onto the ?data= param)

@cmdcolin
Copy link
Copy Markdown
Collaborator Author

The term ?data= is the same URL param that jbrowse 1 used to load a "data directory" of files, loading data/trackList.json by default

@cmdcolin
Copy link
Copy Markdown
Collaborator Author

it would be cool if there was a way to somehow make the default of jbrowse 2 load from a 'data directory' because putting all the files alongside the config.json is a little troublesome for file organization

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant