File tree Expand file tree Collapse file tree 1 file changed +13
-18
lines changed Expand file tree Collapse file tree 1 file changed +13
-18
lines changed Original file line number Diff line number Diff line change 1
1
# -*- coding: utf-8 -*-
2
2
3
+ # Description: NeuroML2 reader.
4
+ # Implementation of reader for NeuroML 2 models.
5
+ # TODO: handle morphologies of more than one segment...
6
+ #
3
7
# Author: Subhasis Ray, Padraig Gleeson
4
- # Maintainer:
8
+ # Maintainer: Dilawar Singh <dilawars@ncbs.res.in>
5
9
# Created: Wed Jul 24 15:55:54 2013 (+0530)
10
+ #
11
+ # Notes:
12
+ # For update/log, please see git-blame documentation or browse the github
13
+ # repo https://github.com/BhallaLab/moose-core
6
14
7
- # Code:
8
- """Implementation of reader for NeuroML 2 models.
9
-
10
-
11
- TODO: handle morphologies of more than one segment...
12
-
13
- """
14
- from __future__ import print_function , division , absolute_import
15
-
15
+ import os
16
+ import math
16
17
import numpy as np
17
18
from moose .neuroml2 .hhfit import exponential2
18
19
from moose .neuroml2 .hhfit import sigmoid2
19
20
from moose .neuroml2 .hhfit import linoid2
20
21
from moose .neuroml2 .units import SI
21
22
import moose
22
- import logging
23
- import math
24
23
25
- loglevel = logging .DEBUG
26
- logstream = logging .StreamHandler ()
27
- logstream .setLevel (loglevel )
28
- logstream .setFormatter (logging .Formatter ('%s(asctime)s %(name)s %(filename)s %(funcName)s: %(message)s' ))
29
- logger = logging .getLogger ('nml2_reader' )
30
- logger .addHandler (logstream )
24
+ import logging
25
+ logger_ = logging .getLogger ('moose.nml2' )
31
26
32
27
try :
33
28
import neuroml as nml
You can’t perform that action at this time.
0 commit comments