Changeset 1003 for trunk/src/series.m


Ignore:
Timestamp:
Mar 28, 2017, 10:12:08 AM (7 years ago)
Author:
campagne8a
Message:

Fluidiamage compatibility

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/series.m

    r1001 r1003  
    153153[path_series,name,ext]=fileparts(which('series')); % path to the GUI series
    154154path_series_fct=fullfile(path_series,'series'); % path of the functions in subdirectroy 'series'
    155 [code, message] = system...
    156     ('LD_LIBRARY_PATH=$(echo $LD_LIBRARY_PATH | pyp "p.split('':'') |... [s for s in p if ''matlab'' not in s] | '':''.join(p)") python -c "import fluidimage"');
     155command = ['LD_LIBRARY_PATH=$(echo $LD_LIBRARY_PATH | pyp "l = x.split('':''); l = [s for s in l if ''matlab'' not in s]; print('':''.join(l))") ' ...
     156            'python -c "import fluidimage" ' ];
     157[code, ~] = system(command);
    157158if code==0
    158159    ActionExtList={'.m';'.sh';'.py (in dev.)'}; % default choice of extensions (Matlab fct .m or compiled version .sh
     
    21592160        msgbox_uvmat('CONFIRMATION',[num2str(currJobIndex-1) ' jobs launched on queue ' qstat_Queue '.'])
    21602161    case 'python'
    2161         command = [
    2162             'LD_LIBRARY_PATH=$(echo $LD_LIBRARY_PATH | pyp "p.split('':'') | [s for s in p if ''matlab'' not in s] | '':''.join(p)") ' ...
     2162        command = ['LD_LIBRARY_PATH=$(echo $LD_LIBRARY_PATH | pyp "l = x.split('':''); l = [s for s in l if ''matlab'' not in s]; print('':''.join(l))") ' ...
    21632163            'python -m fluidimage.run_from_xml ' filexml{iprocess}];
    21642164        % fprintf(['command:\n' command '\n\n'])
Note: See TracChangeset for help on using the changeset viewer.