From fc802da5e3c6d7208e689699a4651eabb7de0999 Mon Sep 17 00:00:00 2001 From: Sam Neymotin Date: Wed, 5 Dec 2018 16:49:50 -0500 Subject: [PATCH] make sure label for calcium decay tau is correct --- __init__.py | 2 +- hnn_qt5.py | 9 ++++++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/__init__.py b/__init__.py index f367567ac..1cbd3b6b5 100644 --- a/__init__.py +++ b/__init__.py @@ -1 +1 @@ -__version__ = '0.1.0' +__version__ = '0.1.1' diff --git a/hnn_qt5.py b/hnn_qt5.py index 7abcbc3e0..8b9ac631e 100644 --- a/hnn_qt5.py +++ b/hnn_qt5.py @@ -1200,8 +1200,8 @@ def initd (self): ('L5Pyr_dend_gbar_ar', 1e-6)]) dtrans = {'gkbar':'Kv', 'gnabar':'Na', 'km':'Km', 'gl':'leak',\ - 'ca':'Ca', 'kca':'KCa','cat':'CaT','ar':'HCN','dend':'Dendrite',\ - 'soma':'Soma','apicaltrunk':'Apical Dendrite Trunk',\ + 'ca':'Ca', 'kca':'KCa','cat':'CaT','ar':'HCN','cad':'Ca decay time',\ + 'dend':'Dendrite','soma':'Soma','apicaltrunk':'Apical Dendrite Trunk',\ 'apical1':'Apical Dendrite 1','apical2':'Apical Dendrite 2',\ 'apical3':'Apical Dendrite 3','apicaltuft':'Apical Dendrite Tuft',\ 'apicaloblique':'Oblique Apical Dendrite','basal1':'Basal Dendrite 1',\ @@ -1239,7 +1239,10 @@ def initd (self): nv = dtrans[lk[1]] + ' ' + dtrans[lk[2]] + ' ' + ' channel density ' if lk[3] == 'hh2': nv += '(S/cm2)' else: nv += '(pS/micron2)' - elif lk[2].count('el') > 0: nv = dtrans[lk[1]] + ' leak reversal (mV)' + elif lk[2].count('el') > 0: + nv = dtrans[lk[1]] + ' leak reversal (mV)' + elif lk[2].count('taur') > 0: + nv = dtrans[lk[1]] + ' ' + dtrans[lk[3]] + ' (ms)' self.addtransvar(k,nv) self.ldict = [self.dL2PyrGeom, self.dL2PyrSyn, self.dL2PyrBiophys,\