-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathSMAP.m
32 lines (27 loc) · 988 Bytes
/
SMAP.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
% DESCRIPTION: SMAP: Superresolution Microscopy Analysis Platform
% COPYRIGHT: Jonas Ries, 2020
% LICENSE: GPLv3
% AUTHOR: Jonas Ries, EMBL Heidelberg, [email protected] 27.03.2020
% www.rieslab.de, www.github.com/jries/SMAP
% Please cite as:
% Ries, J. SMAP: a modular super-resolution microscopy analysis platform for SMLM
% data. Nat Methods (2020). https://doi.org/10.1038/s41592-020-0938-1
% Please also cite the references for the plugins you use (as mentioned in
% the plugin info).
%This is a script to start SMAP.
dirlist=genpath('shared');
addpath(dirlist)
if exist('g','var')
warning('off','MATLAB:class:DestructorError')
delete(g)
warning('on','MATLAB:class:DestructorError')
end
g=gui.GuiMainSMAP;g.makeGui;
% display git status
if ~isdeployed
[status,message]=system('git status');
if status==0
ind=find(message==10);
disp(['git: ' message(1:ind(min(4,length(ind))))]);
end
end