Cadet-Tutorial Troubleshooting - Lesson 8: Introduction to CADET-Match

Hello,

I just installed CADET-Python onto my Windows computer following the instructions provided on GitHub. I also installed the Cadet-Tutorials and have been working through these to familiarize myself with the software. After adjusting my utils file, I was able to complete lessons 1,2,3,4,5, and 7. However, I have been running into a consistent issue executing the solution scripts for Lesson 8: Introduction to CADET-Match.
When I run the following section of code in any of the example solutions:

the program executes briefly and then shuts down, providing me with the following output copied below. Could someone please help me interpret the error and so I can address this issue? Thank you in advance – Dwyer Stuart

2021-06-04 09:13:13,802 match.py print_version 113 CADETMatch starting up version: 0.6.23

2021-06-04 09:13:13,864 match.py print_version 138 joblib version: 1.0.1 tested with 0.15.1

2021-06-04 09:13:13,871 match.py print_version 138 addict version: 2.4.0 tested with 2.2.1

2021-06-04 09:13:13,871 match.py print_version 138 corner version: 0.0.0 tested with 2.0.1

2021-06-04 09:13:13,871 match.py print_version 138 emcee version: 0.0.0 tested with 3.0.2

2021-06-04 09:13:13,871 match.py print_version 138 SALib version: 1.3.11 tested with 0.0+nnone

2021-06-04 09:13:13,887 match.py print_version 138 deap version: 1.3.1 tested with 1.3.1

2021-06-04 09:13:13,887 match.py print_version 138 psutil version: 5.8.0 tested with 5.7.0

2021-06-04 09:13:13,887 match.py print_version 138 numpy version: 1.20.1 tested with 1.18.5

2021-06-04 09:13:13,887 match.py print_version 138 openpyxl version: 3.0.7 tested with 3.0.3

2021-06-04 09:13:13,902 match.py print_version 138 scipy version: 1.6.2 tested with 1.5.0

2021-06-04 09:13:13,902 match.py print_version 138 matplotlib version: 3.3.4 tested with 3.2.1

2021-06-04 09:13:13,902 match.py print_version 138 pandas version: 1.2.4 tested with 1.0.5

2021-06-04 09:13:13,902 match.py print_version 138 h5py version: 2.10.0 tested with 2.10.0

2021-06-04 09:13:13,918 match.py print_version 138 cadet version: 0.6 tested with 0.6

2021-06-04 09:13:13,918 match.py print_version 138 seaborn version: 0.11.1 tested with 0.10.1

2021-06-04 09:13:13,918 match.py print_version 138 scikit-learn version: 0.24.1 tested with 0.23.1

2021-06-04 09:13:13,918 match.py print_version 138 jstyleson version: 0.0.2 tested with 0.0.2

2021-06-04 09:13:14,734 util.py setupSimulation 1184 dextran_reference.h5 abstol=1e-06  reltol=1e-06

2021-06-04 09:13:15,273 match.py setupTemplates 253 simulation took 0.5370228290557861

2021-06-04 09:13:16,069 match.py setupTemplates 289 simulation final took 0.726675271987915

2021-06-04 09:13:16,799 gradFD.py create_template 38 grad simulation took 0.5977249145507812

2021-06-04 09:13:16,799 gradFD.py create_template 40 grad C:/Users/thomas.stuart/cadet1/CADET-Tutorial-master/08_CADET-Match_Introduction/results/misc/template_dextran_grad.h5 abstol=1e-06  reltol=1e-06

2021-06-04 09:13:18,996 loggerwriter.py write 10 Traceback (most recent call last):



2021-06-04 09:13:18,996 loggerwriter.py write 10   File "C:\Users\thomas.stuart\Anaconda3\lib\site-packages\CADETMatch\match.py", line 322, in <module>



2021-06-04 09:13:18,996 loggerwriter.py write 10     

2021-06-04 09:13:18,996 loggerwriter.py write 10 main(map_function=map_function)

2021-06-04 09:13:18,996 loggerwriter.py write 10   File "C:\Users\thomas.stuart\Anaconda3\lib\site-packages\CADETMatch\match.py", line 33, in main



2021-06-04 09:13:18,996 loggerwriter.py write 10     

2021-06-04 09:13:18,996 loggerwriter.py write 10 hof = evo.run(cache)

2021-06-04 09:13:18,996 loggerwriter.py write 10   File "C:\Users\thomas.stuart\Anaconda3\lib\site-packages\CADETMatch\evo.py", line 123, in run



2021-06-04 09:13:18,996 loggerwriter.py write 10     

2021-06-04 09:13:18,996 loggerwriter.py write 10 return cache.search[searchMethod].run(cache, tools, creator)

2021-06-04 09:13:19,012 loggerwriter.py write 10   File "C:\Users\thomas.stuart\Anaconda3\lib\site-packages\CADETMatch\search\nsga3.py", line 36, in run



2021-06-04 09:13:19,012 loggerwriter.py write 10     

2021-06-04 09:13:19,012 loggerwriter.py write 10 return checkpoint_algorithms.eaMuPlusLambda(

2021-06-04 09:13:19,012 loggerwriter.py write 10   File "C:\Users\thomas.stuart\Anaconda3\lib\site-packages\CADETMatch\checkpoint_algorithms.py", line 89, in eaMuPlusLambda



2021-06-04 09:13:19,012 loggerwriter.py write 10     

2021-06-04 09:13:19,012 loggerwriter.py write 10 stalled, stallWarn, progressWarn = util.eval_population(

2021-06-04 09:13:19,012 loggerwriter.py write 10   File "C:\Users\thomas.stuart\Anaconda3\lib\site-packages\CADETMatch\util.py", line 944, in eval_population



2021-06-04 09:13:19,012 loggerwriter.py write 10     

2021-06-04 09:13:19,012 loggerwriter.py write 10 return eval_population_base(

2021-06-04 09:13:19,012 loggerwriter.py write 10   File "C:\Users\thomas.stuart\Anaconda3\lib\site-packages\CADETMatch\util.py", line 960, in eval_population_base



2021-06-04 09:13:19,012 loggerwriter.py write 10     

2021-06-04 09:13:19,012 loggerwriter.py write 10 return process_population(

2021-06-04 09:13:19,012 loggerwriter.py write 10   File "C:\Users\thomas.stuart\Anaconda3\lib\site-packages\CADETMatch\util.py", line 896, in process_population



2021-06-04 09:13:19,012 loggerwriter.py write 10     

2021-06-04 09:13:19,012 loggerwriter.py write 10 processResultsMeta(save_name_base, ind, cache, results)

2021-06-04 09:13:19,012 loggerwriter.py write 10   File "C:\Users\thomas.stuart\Anaconda3\lib\site-packages\CADETMatch\util.py", line 1001, in processResultsMeta



2021-06-04 09:13:19,027 loggerwriter.py write 10     

2021-06-04 09:13:19,027 loggerwriter.py write 10 saveExperiments(save_name_base, cache.settings, cache.target, results, cache.settings["resultsDirMeta"], "%s_%s_meta.h5")

2021-06-04 09:13:19,027 loggerwriter.py write 10   File "C:\Users\thomas.stuart\Anaconda3\lib\site-packages\CADETMatch\util.py", line 165, in saveExperiments



2021-06-04 09:13:19,027 loggerwriter.py write 10     

2021-06-04 09:13:19,027 loggerwriter.py write 10 simulation.root.score[header] = score

2021-06-04 09:13:19,027 loggerwriter.py write 10   File "C:\Users\thomas.stuart\Anaconda3\lib\site-packages\addict\addict.py", line 67, in __getattr__



2021-06-04 09:13:19,027 loggerwriter.py write 10     

2021-06-04 09:13:19,027 loggerwriter.py write 10 return self.__getitem__(item)

2021-06-04 09:13:19,027 loggerwriter.py write 10   File "C:\Users\thomas.stuart\Anaconda3\lib\site-packages\addict\addict.py", line 70, in __missing__



2021-06-04 09:13:19,027 loggerwriter.py write 10     

2021-06-04 09:13:19,027 loggerwriter.py write 10 if object.__getattribute__(self, '__frozen'):

2021-06-04 09:13:19,027 loggerwriter.py write 10 AttributeError

2021-06-04 09:13:19,027 loggerwriter.py write 10 : 

2021-06-04 09:13:19,027 loggerwriter.py write 10 'Dict' object has no attribute '__frozen'

2021-06-04 09:13:19,027 util.py info 54 process shutting down

It looks like the newest version of addict has broken something. For now you can downgrade to addict 2.2 or 2.3. I will work on the new version on Monday.

Hi William,

After downgrading the ADDICT package, anaconda prompted me to install the EMCEE and CORNER packages. Looking back at my submitted output from my original message, these packages were previously not installed on my system. After installing these packages, I was able to run CADET-Match without issue. Thank you for your help!

Great I feel much better about that.