-
-
Notifications
You must be signed in to change notification settings - Fork 193
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update dashBio to v0.4.5 and enable asynchronous component loading #457
Conversation
This prop should have gone under sequences > options, but was declared in defaultProps as a top-level prop. This added it to the list of top-level props for the component, even though it was not a top-level prop in the PropTypes. It therefore had no description/specified type.
package.json
Outdated
"build:py": "node ./extract-meta src/lib/components > dash_bio/metadata.json && python get_version_info.py && python -c \"import dash; dash.development.component_loader.generate_classes('dash_bio', 'dash_bio/metadata.json')\"", | ||
"build:py": "dash-generate-components ./src/lib/components dash_bio -p package-info.json", | ||
"build:py_and_r": "dash-generate-components ./src/lib/components dash_bio -p package-info.json && dash-generate-components ./src/lib/components dash_bio -p package-info.json --r-prefix='dashbio' --r-depends='manhattanly'", | ||
"build:all": "npm run build:js && npm run build:js-dev && npm run build:py_and_r", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same suggestion as for DAQ
https://github.com/plotly/dash-daq/pull/79/files#r360213585
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NAMESPACE
Outdated
@@ -11,7 +11,6 @@ export(dashbioOncoPrint) | |||
export(dashbioSequenceViewer) | |||
export(dashbioSpeck) | |||
export(dashbioManhattan) | |||
export(dashbioAlignmentViewer) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hm, I don't think this should be here -- IIRC we got rid of the AlignmentViewer component in #425
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, strange indeed. The generator should blow away the existing R
and man
directories before rebuilding the NAMESPACE
file IIRC, not sure why that didn't happen. I'll take care of this now, thanks for catching it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed in 6e4f9c5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💃 pending tests passing
|
This PR proposes to update the
dashBio
package for compatibility with Dash for R >= 0.2.0, which supports asynchronous component loading.@shammamah