AljenU

Results 28 comments of AljenU

A common case where this happens, is when one of the first two outputs of aas_doneflag_getpath_bydomain is used in a aas_log message.

**Put directory names in the github xml files such that they are updated for windows/linux** - Replace all occurrences of "/home/runner" in the aap_parameters_defaults_Github files with "$HOME" - Add parameter_xml_env_var_replace()...

**Add a matrix to the test definition .yml with both ubuntu and windows** Also a few other parts needed updating. At least, replace ``` runs-on: ubuntu-latest XXX - name: Maximize...

In aa_init, there is the following code ``` % Path for matlabtools if isfield(aap.directory_conventions,'matlabtoolsdir') && ~isempty(aap.directory_conventions.matlabtoolsdir) addpath(strrep(aap.directory_conventions.matlabtoolsdir,':',pathsep)) end ``` It seems to me, that the strrep does not do anything...

Log4m works with a singleton logging object, it will be interesting to see if and how that can integrate with logging from the workers.

1. The solution suggests to rewrite based on log4m. Although this may help for some of the items, it may make other ones more difficult to achieve. And, there is...

Hm, maybe an easy first implementation, that does not require changing all existing aas_log statements, could be to use the log4m object within aas_log. That would make it more easy...

And, could then probably work on not having to pass aap into aas_log (init logging only once, though when exactly, after that settings are stored in the logging object).

I do wonder whether parpool or matlab_pct might work, even though batch does not. They use workers differently. If it does, at least there would be the speedup. It does...

Then also replace code like [aahome,~,~] = fileparts(which('aa_ver5')); with a call to the info function, and use the .Path from there.