os.system('patch ProbGABAAB_EMS.mod ProbGABAAB_EMS.patch') os.system('nrnivmodl') os.chdir(PSET.CWD) COMM.Barrier() neuron.load_mechanisms(PSET.NMODL) os.chdir(PSET.CWD) # Fill in dictionary of population-specific cell parameters for NRN in PSET.populationParameters['me_type']: os.chdir(os.path.join(PSET.CWD, PSET.CELLPATH, NRN)) #get the template name f = open("template.hoc", 'r') templatename = get_templatename(f) f.close() #get biophys template name f = open("biophysics.hoc", 'r') biophysics = get_templatename(f) f.close() #get morphology template name f = open("morphology.hoc", 'r') morphology = get_templatename(f) f.close() #get synapses template name f = open(os.path.join("synapses", "synapses.hoc"), 'r') synapses = get_templatename(f)
f.close() os.system('patch ProbGABAAB_EMS.mod ProbGABAAB_EMS.patch') os.system('nrnivmodl') os.chdir(PSET.CWD) COMM.Barrier() neuron.load_mechanisms(PSET.NMODL) os.chdir(PSET.CWD) # Fill in dictionary of population-specific cell parameters for NRN in PSET.populationParameters['me_type']: os.chdir(os.path.join(PSET.CWD, PSET.CELLPATH, NRN)) #get the template name f = open("template.hoc", 'r') templatename = get_templatename(f) f.close() #get biophys template name f = open("biophysics.hoc", 'r') biophysics = get_templatename(f) f.close() #get morphology template name f = open("morphology.hoc", 'r') morphology = get_templatename(f) f.close() #get synapses template name f = open(os.path.join("synapses", "synapses.hoc"), 'r') synapses = get_templatename(f)