Changeset 128 for trunk/src/series


Ignore:
Timestamp:
Nov 21, 2010, 10:06:11 PM (13 years ago)
Author:
sommeria
Message:

series: give writting access to the group for all subdirectories produced
uvmat.fig: change of vect and scalar frames (to be consistent with view_field)
uvmat: various cleaning
plot_field: various cleaning to improve axes definition and avoid blinking
geometry_calib: improved dispay of point coordiantes, improved link with dataview for REPLICATE.
struct2nc: repair bug , file was not closed.
cell2tab: cleaning
dataview: improve the browser
civ: solve pb of image naming

Location:
trunk/src/series
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/series/aver_stat.m

    r107 r128  
    277277    if ~isequal(m2,'')
    278278         msgbox_uvmat('CONFIRMATION',m2);%error message for directory creation
     279    end
     280    [xx,msg2] = fileattrib(subdir_result,'+w','g'); %yield writing access (+w) to user group (g)
     281    if ~strcmp(msg2,'')
     282        msgbox_uvmat('ERROR',['pb of permission for ' subdir_result ': ' msg2])%error message for directory creation
     283        cd(curdir)
     284        return
    279285    end
    280286    cd(dircur) %back to the initial working directory
  • trunk/src/series/ima_levels.m

    r71 r128  
    2121cd(path);
    2222mkdir([subdir_ima '_levels']);
     23  [xx,msg2] = fileattrib(subdir_ima,'+w','g'); %yield writing access (+w) to user group (g)
     24if ~strcmp(msg2,'')
     25    msgbox_uvmat('ERROR',['pb of permission for ' subdir_ima ': ' msg2])%error message for directory creation
     26    cd(dircur)
     27    return
     28end
     29cd(dircur);
    2330cd(curdir);
    2431basename_new=fullfile(path,[subdir_ima '_levels'],namebase);
  • trunk/src/series/merge_proj.m

    r127 r128  
    234234    succeed=mkdir(subdir);
    235235    if succeed
    236     cd(dircur);
     236        [xx,msg2] = fileattrib(res_subdir,'+w','g'); %yield writing access (+w) to user group (g)
     237        if ~strcmp(msg2,'')
     238            msgbox_uvmat('ERROR',['pb of permission for ' res_subdir ': ' msg2])%error message for directory creation
     239            cd(dircur)
     240            return
     241        end
     242        cd(dircur);
    237243    else
    238     msgbox_uvmat('ERROR',['Cannot create directory ' fulldir])
    239     return
    240     end       
     244        msgbox_uvmat('ERROR',['Cannot create directory ' fulldir])
     245        return
     246    end
    241247end
    242248filebasesub=fullfile(res_subdir,Series.RootFile{1});
  • trunk/src/series/relabel_i_j.m

    r71 r128  
    2121cd(path);
    2222mkdir([subdir_ima '_ij']);
     23[xx,msg2] = fileattrib(subdir_ima,'+w','g'); %yield writing access (+w) to user group (g)
     24if ~strcmp(msg2,'')
     25    msgbox_uvmat('ERROR',['pb of permission for ' subdir_ima ': ' msg2])%error message for directory creation
     26    cd(dircur)
     27    return
     28end
    2329cd(curdir);
    2430basename_new=fullfile(path,[subdir_ima '_ij'],namebase);
  • trunk/src/series/sub_background.m

    r89 r128  
    115115cd(path);
    116116mkdir([subdir_ima '_b']);
     117[xx,msg2] = fileattrib(subdir_ima,'+w','g'); %yield writing access (+w) to user group (g)
     118if ~strcmp(msg2,'')
     119    msgbox_uvmat('ERROR',['pb of permission for ' subdir_ima ': ' msg2])%error message for directory creation
     120    cd(curdir)
     121    return
     122end
    117123cd(curdir);
    118124filebase_b=fullfile(path,[subdir_ima '_b'],namebase);
  • trunk/src/series/time_series.m

    r107 r128  
    278278    if ~isequal(m2,'')
    279279         msgbox_uvmat('CONFIRMATION',m2);%error message for directory creation
     280    end
     281    [xx,msg2] = fileattrib(subdir_result,'+w','g'); %yield writing access (+w) to user group (g)
     282    if ~strcmp(msg2,'')
     283        msgbox_uvmat('ERROR',['pb of permission for ' subdir_result ': ' msg2])%error message for directory creation
     284        cd(dircur)
     285        return
    280286    end
    281287    cd(dircur) %back to the initial working directory
Note: See TracChangeset for help on using the changeset viewer.