Hello,
I had the same problem as the author of this thread. After updating like heymann suggested I got the following error
2023-01-18 18:39:08,253 match.py print_version 121 CADETMatch starting up version: 0.8.15
2023-01-18 18:39:08,318 match.py print_version 150 attrs version: 22.2.0 tested with 21.2.0
2023-01-18 18:39:08,320 match.py print_version 150 joblib version: 1.2.0 tested with 1.0.1
2023-01-18 18:39:08,322 match.py print_version 150 addict version: 2.4.0 tested with 2.4.0
2023-01-18 18:39:08,324 match.py print_version 150 corner version: 2.2.1 tested with 2.2.1
2023-01-18 18:39:08,326 match.py print_version 150 emcee version: 3.1.3 tested with 3.0.2
2023-01-18 18:39:08,330 match.py print_version 150 SALib version: 1.4.7 tested with 1.3.11
2023-01-18 18:39:08,333 match.py print_version 150 psutil version: 5.9.4 tested with 5.8.0
2023-01-18 18:39:08,335 match.py print_version 150 numpy version: 1.21.6 tested with 1.21.1
2023-01-18 18:39:08,337 match.py print_version 150 openpyxl version: 3.0.10 tested with 3.0.7
2023-01-18 18:39:08,348 match.py print_version 150 scipy version: 1.10.0 tested with 1.7.0
2023-01-18 18:39:08,351 match.py print_version 150 matplotlib version: 3.6.3 tested with 3.4.2
2023-01-18 18:39:08,354 match.py print_version 150 pandas version: 1.5.2 tested with 1.3.0
2023-01-18 18:39:08,356 match.py print_version 150 h5py version: 3.6.0 tested with 3.3.0
2023-01-18 18:39:08,358 match.py print_version 150 cadet-python version: 0.14 tested with 0.11
2023-01-18 18:39:08,361 match.py print_version 150 seaborn version: 0.12.2 tested with 0.11.1
2023-01-18 18:39:08,364 match.py print_version 150 scikit-learn version: 1.2.0 tested with 0.24.2
2023-01-18 18:39:08,366 match.py print_version 150 jstyleson version: 0.0.2 tested with 0.2.0
2023-01-18 18:39:08,368 match.py print_version 150 filelock version: 3.4.2 tested with 3.0.12
2023-01-18 18:39:08,370 match.py print_version 150 pymoo version: 0.6.0.1 tested with 0.4.2.2
2023-01-18 18:39:11,325 util.py setupSimulation 1255 dextran_reference.h5 abstol=1e-06 reltol=1e-06
2023-01-18 18:39:11,494 match.py setupTemplates 284 simulation took 0.16728901863098145
2023-01-18 18:39:11,811 match.py setupTemplates 341 simulation final took 0.22404956817626953
2023-01-18 18:39:12,138 gradFD.py create_template 50 grad simulation took 0.1981973648071289
2023-01-18 18:39:12,138 gradFD.py create_template 52 grad D:/Studium/MA Runde 2/02a Simulationen/CADET-Tutorial/08_CADET-Match_Introduction/results/misc/template_dextran_grad.h5 abstol=1e-06 reltol=1e-06
2023-01-18 18:39:12,187 loggerwriter.py write 10 Traceback (most recent call last):
2023-01-18 18:39:12,187 loggerwriter.py write 10 File "C:\ProgramData\Anaconda3\lib\site-packages\CADETMatch\match.py", line 363, in <module>
2023-01-18 18:39:12,187 loggerwriter.py write 10
2023-01-18 18:39:12,187 loggerwriter.py write 10 main(map_function=map_function)
2023-01-18 18:39:12,187 loggerwriter.py write 10 File "C:\ProgramData\Anaconda3\lib\site-packages\CADETMatch\match.py", line 28, in main
2023-01-18 18:39:12,188 loggerwriter.py write 10
2023-01-18 18:39:12,188 loggerwriter.py write 10 hof = evo.run(cache)
2023-01-18 18:39:12,188 loggerwriter.py write 10 File "C:\ProgramData\Anaconda3\lib\site-packages\CADETMatch\evo.py", line 153, in run
2023-01-18 18:39:12,190 loggerwriter.py write 10
2023-01-18 18:39:12,190 loggerwriter.py write 10 return cache.search[searchMethod].run(cache)
2023-01-18 18:39:12,190 loggerwriter.py write 10 File "C:\ProgramData\Anaconda3\lib\site-packages\CADETMatch\search\nsga3.py", line 9, in run
2023-01-18 18:39:12,190 loggerwriter.py write 10
2023-01-18 18:39:12,190 loggerwriter.py write 10 return CADETMatch.pymoo_config.run(cache, 'nsga3')
2023-01-18 18:39:12,190 loggerwriter.py write 10 File "C:\ProgramData\Anaconda3\lib\site-packages\CADETMatch\pymoo_config.py", line 172, in run
2023-01-18 18:39:12,192 loggerwriter.py write 10
2023-01-18 18:39:12,192 loggerwriter.py write 10 algorithm = get_algorithm(alg, ref_dirs=ref_dirs, sampling=init_pop, pop_size=populationSize )
2023-01-18 18:39:12,193 loggerwriter.py write 10 File "C:\ProgramData\Anaconda3\lib\site-packages\pymoo\factory.py", line 32, in get_algorithm
2023-01-18 18:39:12,194 loggerwriter.py write 10
2023-01-18 18:39:12,194 loggerwriter.py write 10 raise Exception("The method `get_algorithm` has been deprecated since 0.6.0\n"
2023-01-18 18:39:12,194 loggerwriter.py write 10 Exception
2023-01-18 18:39:12,194 loggerwriter.py write 10 :
2023-01-18 18:39:12,194 loggerwriter.py write 10 The method `get_algorithm` has been deprecated since 0.6.0
Please use the object-oriented interface.
2023-01-18 18:39:12,194 util.py info 54 process shutting down
It seems like the new Cadetmatch version is using a deprecated function get_algorithm
.
How can i fix this?
I am using pymoo version 0.6.0.1 and cadetmatch version 0.8.15