Skip to content

Commit

Permalink
make sure label for calcium decay tau is correct
Browse files Browse the repository at this point in the history
  • Loading branch information
samnemo committed Dec 5, 2018
1 parent 773fba3 commit fc802da
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion __init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '0.1.0'
__version__ = '0.1.1'
9 changes: 6 additions & 3 deletions hnn_qt5.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',\
Expand Down Expand Up @@ -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,\
Expand Down

0 comments on commit fc802da

Please # to comment.