diff --git a/src/mol-plugin/context.ts b/src/mol-plugin/context.ts index 5325d1856d130bf9b100a1a5549cb82324d53a2d..26fb5b3a2f32e1d6db2838800d9cc7ac21250c4c 100644 --- a/src/mol-plugin/context.ts +++ b/src/mol-plugin/context.ts @@ -26,6 +26,7 @@ import { LociLabelEntry, LociLabelManager } from './util/loci-label-manager'; import { ajaxGet } from 'mol-util/data-source'; import { CustomPropertyRegistry } from './util/custom-prop-registry'; import { VolumeRepresentationRegistry } from 'mol-repr/volume/registry'; +import { PLUGIN_VERSION } from './version'; export class PluginContext { private disposed = false; @@ -171,6 +172,9 @@ export class PluginContext { this.initDataActions(); this.lociLabels = new LociLabelManager(this); + + // TODO: find a better solution for this. + setTimeout(() => this.log.message(`Mol* Plugin ${PLUGIN_VERSION}`), 500); } // settings = ; diff --git a/src/mol-plugin/version.ts b/src/mol-plugin/version.ts new file mode 100644 index 0000000000000000000000000000000000000000..42890943f875aa49d1781879adc27137843fb3ba --- /dev/null +++ b/src/mol-plugin/version.ts @@ -0,0 +1,7 @@ +/** + * Copyright (c) 2018 mol* contributors, licensed under MIT, See LICENSE file for more info. + * + * @author David Sehnal <david.sehnal@gmail.com> + */ + +export const PLUGIN_VERSION = '0.1.0'; \ No newline at end of file