Changeset 1135 for trunk/src/series.m
- Timestamp:
- Apr 23, 2024, 3:03:38 PM (6 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/series.m
r1134 r1135 156 156 [path_series,name,ext]=fileparts(which('series')); % path to the GUI series 157 157 path_series_fct=fullfile(path_series,'series'); % path of the functions in subdirectroy 'series' 158 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))") ' ...159 'python -c "import fluidimage"'];160 [code, ~] = system(command);161 if code==0158 % % 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))") ' ... 159 % % 'python -c "import fluidimage"']; 160 % % [code, ~] = system(command); 161 % % if code==0 162 162 ActionExtList={'.m';'.sh';'.py (in dev.)'}; % default choice of extensions (Matlab fct .m or compiled version .sh 163 else164 ActionExtList={'.m';'.sh'}; % python options not installed165 end163 % % else 164 % % ActionExtList={'.m';'.sh'}; % python options not installed 165 % % end 166 166 ActionPathList=cell(NbBuiltinAction,1); % initiate the cell matrix of Action fct paths 167 167 ActionPathList(:)={path_series_fct}; % set the default path to series fcts to all list members … … 2294 2294 msgbox_uvmat('CONFIRMATION',[num2str(currJobIndex-1) ' jobs launched on queue ' qstat_Queue '.']) 2295 2295 case 'python' 2296 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))") ' ... 2297 'python -m fluidimage.run_from_xml ' filexml{iprocess}]; 2296 ActionName='fluidimage.run_from_xml';% name of the function to launch 2297 command = command_launch_python('','',ActionName,filexml{iprocess}); 2298 % ['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))") ' ... 2299 % 'python -m fluidimage.run_from_xml ' filexml{iprocess}]; 2298 2300 fprintf(['command:\n' command '\n\n']) 2299 system(command, '-echo');2301 errorcheck=system(command, '-echo') 2300 2302 end 2301 2303 if exist(OutputDir,'dir')
Note: See TracChangeset
for help on using the changeset viewer.