scidash / neuronunit

A package for data-driven validation of neuron and ion channel models using SciUnit
http://neuronunit.scidash.org
38 stars 24 forks source link

A document Notice to debug set PARALLEL_CONFIDENT=False #232

Closed russelljjarvis closed 4 years ago

russelljjarvis commented 4 years ago

Many methods inside the file optimization_management.py cannot be easily monkey patched using pdb.set_trace() unless at the top of the file, the parallel_confident static variable is declared false

PARALLEL_CONFIDENT=False

This converts parallel mapping functions to serial mapping functions. scheduled Parallel mapping functions cannot tolerate being paused, serial ones can.