Skip to content
Snippets Groups Projects
Select Git revision
  • master
1 result

ImageWindowURL format.txt

Blame
  • ac's avatar
    Andrew Cohen authored
    ed9707f5
    History
    ImageWindowURL format.txt 1.89 KiB
    <!--
    
        Copyright 2015 Andrew Cohen
    
         This file is part of CloneView - the tool for displaying stem cell lineaging in a webpage.
    
         CloneView is free software: you can redistribute it and/or modify
         it under the terms of the GNU General Public License as published by
         the Free Software Foundation, either version 3 of the License, or
         (at your option) any later version.
    
         CloneView is distributed in the hope that it will be useful,
         but WITHOUT ANY WARRANTY; without even the implied warranty of
         MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
         GNU General Public License for more details.
    
         You should have received a copy of the GNU General Public License
         along with CloneView in file "gnu gpl v3.txt".  If not, see
         <http://www.gnu.org/licenses/>.
    
    -->
    
    URL layout for CloneView ImageWindow
    
    // CONSTANTS - see 'ImageWindow URL format.txt'for details
    var FILEURL_CLONE_PATH = 1;
    var FILEURL_DATASET_NAME = 2;
    var FILEURL_NCHANNELS = 3;
    // channels follow here. if channels are > 0, family, datapath and starttime
    // follow channels and the constants are adjusted
    var gfileurl_family_id= 4; 
    var gfileurl_data_path = 5;
    var gfileurl_start_time= 6;
    
    window.location.href:
    
    [0]="http://localhost:8080/ImageWindow.html" - full path to this file
    
    the rest of these are '?' separated, and passed in by the html file in the /html folder
    only [1] is used by CloneView - the  rest are used by the ImageWindow
    [1]="/CloneData/SKG_100312_E12_Ant_vs_Post-0003_B04_02.clone" - clone file
    
    [2]="SKG_100312_E12_Ant_vs_Post-0003_B04_02" - image dataset name (for image path)
    [3]="/Experiments/AntPostSCR" - dataset path (folder under experiments where html/image/clone data is found)
    [4]=# of channels (0 except for multichannel images)
    [5]=c1 format
    [6]=c1 description
    [7]=c2 format
    [8]=c2 description
    ...
    [5]+2*[4] = FamilyID (from CloneView window) 
    [5]+2*[4]+1 = Start time