Skip to content

Commit

Permalink
use consistent from __future__ in neo core
Browse files Browse the repository at this point in the history
  • Loading branch information
toddrjen committed Dec 16, 2013
1 parent d8dca1b commit b53a431
Show file tree
Hide file tree
Showing 15 changed files with 41 additions and 2 deletions.
2 changes: 1 addition & 1 deletion neo/core/analogsignal.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
'''

# needed for python 3 compatibility
from __future__ import division
from __future__ import absolute_import, division, print_function

import numpy as np
import quantities as pq
Expand Down
2 changes: 1 addition & 1 deletion neo/core/analogsignalarray.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
'''

# needed for python 3 compatibility
from __future__ import division
from __future__ import absolute_import, division, print_function

import logging

Expand Down
3 changes: 3 additions & 0 deletions neo/core/baseneo.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
used by all :module:`neo.core` classes.
'''

# needed for python 3 compatibility
from __future__ import absolute_import, division, print_function

from datetime import datetime, date, time, timedelta
from decimal import Decimal
import logging
Expand Down
3 changes: 3 additions & 0 deletions neo/core/block.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
:class:`Block` derives from :class:`BaseNeo`, from :module:`neo.core.baseneo`.
'''

# needed for python 3 compatibility
from __future__ import absolute_import, division, print_function

from neo.core.baseneo import BaseNeo


Expand Down
3 changes: 3 additions & 0 deletions neo/core/epoch.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
:class:`Epoch` derives from :class:`BaseNeo`, from :module:`neo.core.baseneo`.
'''

# needed for python 3 compatibility
from __future__ import absolute_import, division, print_function

from neo.core.baseneo import BaseNeo


Expand Down
3 changes: 3 additions & 0 deletions neo/core/epocharray.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
:module:`neo.core.baseneo`.
'''

# needed for python 3 compatibility
from __future__ import absolute_import, division, print_function

import sys

import numpy as np
Expand Down
3 changes: 3 additions & 0 deletions neo/core/event.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
:class:`Event` derives from :class:`BaseNeo`, from :module:`neo.core.baseneo`.
'''

# needed for python 3 compatibility
from __future__ import absolute_import, division, print_function

from neo.core.baseneo import BaseNeo


Expand Down
3 changes: 3 additions & 0 deletions neo/core/eventarray.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
:module:`neo.core.baseneo`.
'''

# needed for python 3 compatibility
from __future__ import absolute_import, division, print_function

import sys

import numpy as np
Expand Down
3 changes: 3 additions & 0 deletions neo/core/irregularlysampledsignal.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@
the old object.
'''

# needed for python 3 compatibility
from __future__ import absolute_import, division, print_function

import numpy as np
import quantities as pq

Expand Down
3 changes: 3 additions & 0 deletions neo/core/recordingchannel.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
:module:`neo.core.baseneo`.
'''

# needed for python 3 compatibility
from __future__ import absolute_import, division, print_function

from neo.core.baseneo import BaseNeo


Expand Down
3 changes: 3 additions & 0 deletions neo/core/recordingchannelgroup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
:module:`neo.core.baseneo`.
'''

# needed for python 3 compatibility
from __future__ import absolute_import, division, print_function

import numpy as np

from neo.core.baseneo import BaseNeo
Expand Down
3 changes: 3 additions & 0 deletions neo/core/segment.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
from :module:`neo.core.baseneo`.
'''

# needed for python 3 compatibility
from __future__ import absolute_import, division, print_function

import numpy as np

from neo.core.baseneo import BaseNeo
Expand Down
3 changes: 3 additions & 0 deletions neo/core/spike.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
:class:`Spike` derives from :class:`BaseNeo`, from :module:`neo.core.baseneo`.
'''

# needed for python 3 compatibility
from __future__ import absolute_import, division, print_function

import quantities as pq

from neo.core.baseneo import BaseNeo
Expand Down
3 changes: 3 additions & 0 deletions neo/core/spiketrain.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
the old object.
'''

# needed for python 3 compatibility
from __future__ import absolute_import, division, print_function

import numpy as np
import quantities as pq

Expand Down
3 changes: 3 additions & 0 deletions neo/core/unit.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
:class:`Unit` derives from :class:`BaseNeo`, from :module:`neo.core.baseneo`.
'''

# needed for python 3 compatibility
from __future__ import absolute_import, division, print_function

from neo.core.baseneo import BaseNeo


Expand Down

0 comments on commit b53a431

Please sign in to comment.