Skip to content

Commit

Permalink
Merge pull request #430 from plotly/exp-dynamic
Browse files Browse the repository at this point in the history
  • Loading branch information
Marc-Andre-Rivet authored Nov 5, 2019
2 parents 26df493 + 59814e1 commit 6c9b75c
Show file tree
Hide file tree
Showing 48 changed files with 1,937 additions and 1,929 deletions.
10 changes: 8 additions & 2 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
{
"presets": ["@babel/env", "@babel/react"]
}
"presets": [
"@babel/env",
"@babel/react"
],
"plugins": [
"@babel/plugin-syntax-dynamic-import"
]
}
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## [0.4.0] - 2019-11-05
### Added
* [#430](https://github.com/plotly/dash-bio/pull/430) Async AlignmentChart, Circos, Ideogram, Molecule2dViewer, Molecule3dViewer, NeedlePlot, OncoPrint, SequenceViewwer and Speck components

## [0.3.0] - 2019-10-22

### Added
Expand Down
39 changes: 36 additions & 3 deletions dash_bio/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,17 +32,50 @@

_this_module = _sys.modules[__name__]

async_resources = [
'alignment',
'circos',
'ideogram',
'moleculeviewer2',
'moleculeviewer3',
'needle',
'onco',
'sequence',
'speck'
]

_js_dist = []

_js_dist.extend([{
'relative_package_path': 'async~{}.js'.format(async_resource),
'external_url': (
'https://unpkg.com/dash-bio@{}'
'/dash_bio/async~{}.js'
).format(__version__, async_resource),
'namespace': 'dash_bio',
'async': True
} for async_resource in async_resources])

_js_dist = [
_js_dist.extend([{
'relative_package_path': 'async~{}.js.map'.format(async_resource),
'external_url': (
'https://unpkg.com/dash-bio@{}'
'/dash_bio/async~{}.js.map'
).format(__version__, async_resource),
'namespace': 'dash_bio',
'dynamic': True
} for async_resource in async_resources])

_js_dist.extend([
{
'relative_package_path': 'bundle.js',
'external_url': (
'https://unpkg.com/dash-bio'
'https://unpkg.com/dash-bio{}'
'/' + package_name + '/bundle.js'
).format(__version__),
'namespace': package_name
}
]
])

_css_dist = []

Expand Down
63 changes: 63 additions & 0 deletions dash_bio/async~alignment.js

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions dash_bio/async~circos.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dash_bio/async~ideogram.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dash_bio/async~moleculeviewer2.js

Large diffs are not rendered by default.

39 changes: 39 additions & 0 deletions dash_bio/async~moleculeviewer3.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dash_bio/async~needle.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 6c9b75c

Please sign in to comment.