Skip to content
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

Ideogram: App Improvements #71

Merged
merged 12 commits into from
Dec 6, 2018
18 changes: 16 additions & 2 deletions assets/ideogram-style.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,30 @@
}

.ideogram-column {
max-height: 78vh;
padding-left: 0.5%;
max-height: 83vh;
overflow-y: auto;
}

.ideogram-custom {
max-height: 78vh;
max-height: 83vh;
overflow-y: auto;
position: relative;
}

.ideogram-column-content {
width: 100%;
}

.ideogram-homology-inputs {
max-width: 100%;
}

.ideogram-databox-parameters {
border: 1px solid #D1D1D1;
border-radius: 4px;
margin-top: 5%;
padding-left: 4%;
padding-top: 3%;
padding-bottom: 3%;
}
Binary file modified dash_bio-0.0.1.tar.gz
Binary file not shown.
5 changes: 2 additions & 3 deletions dash_bio/_imports_.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,9 @@
from .NeedlePlot import NeedlePlot
from .SequenceViewer import SequenceViewer


__all__ = [
"DashCircos",
"DashIdeogram",
"NeedlePlot",
"SequenceViewer",
]
"SequenceViewer"
]
7,950 changes: 95 additions & 7,855 deletions dash_bio/bundle.js

Large diffs are not rendered by default.

118 changes: 59 additions & 59 deletions dash_bio/metadata.json

Large diffs are not rendered by default.

5 changes: 2 additions & 3 deletions src/lib/components/DashIdeogram.react.js
Original file line number Diff line number Diff line change
Expand Up @@ -199,12 +199,11 @@ export default class DashIdeogram extends Component {
setConfig() {
// Pass in all props into config except setProps
let config = omit(['setProps'], this.props);

// Event handlers
config.onDidRotate = this.onRotateHandler
config.onBrushMove = this.props.brush ? this.onBrushHandler : null
config.onLoad = this.onLoadHandler
config.container = '#ideogram-container' + '-' + this.props.id
config.container = '#ideogram-container-' + this.props.id

return config;
}
Expand Down Expand Up @@ -244,7 +243,7 @@ export default class DashIdeogram extends Component {
<div id={this.props.id} className={this.props.className} style={this.props.style}>
<div
{...omit(['setProps'], this.props)}
id={'ideogram-container' + '-' + this.props.id}
id={'ideogram-container-' + this.props.id}
onMouseOver={this.onMouseOverHandler}
></div>
</div>
Expand Down
402 changes: 223 additions & 179 deletions tests/dash/app_ideogram.py

Large diffs are not rendered by default.