Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
this.RetrieveViewID = this.RetrieveViewID.bind(this);
this.RetrieveLocation_Static = this.RetrieveLocation_Static.bind(this);
this.RetrieveLocation = this.RetrieveLocation.bind(this);
this.UpdateViewID = this.UpdateViewID.bind(this);
this.UpdateAPIInfo = this.UpdateAPIInfo.bind(this);
this.UpdateCNVData = this.UpdateCNVData.bind(this);
this.UpdateHiglassView = this.UpdateHiglassView.bind(this);
this.UpdateConfigFile = this.UpdateConfigFile.bind(this);
this.ProcessCNVFile = this.ProcessCNVFile.bind(this);
this.LoadConfigFile = this.LoadConfigFile.bind(this);
this.Reset = this.Reset.bind(this);
this.chromInfo = null;
// fetch ChromosomeInfo from HiGlass
// this needs to be specified in a config file somewhere
hglib.ChromosomeInfo('http://higlass.io/api/v1/chrom-sizes/?id=Ajn_ttUUQbqgtOD4nOt-IA', chromInfo => {
this.chromInfo = chromInfo;
});
}
componentDidMount() {
hglib.ChromosomeInfo('http://higlass.io/api/v1/chrom-sizes/?id=Ajn_ttUUQbqgtOD4nOt-IA')
.then(info => this.setState({chromInfo: info}))
if (this.state.uid === 'demo' && !ResilientData.servers.get().length)
demo()
hamradio.publish('ready/cTracks')
}