Skip to content

Commit

Permalink
change due to new pep8 guideline E402
Browse files Browse the repository at this point in the history
  • Loading branch information
skuschel committed Feb 10, 2015
1 parent d12115f commit 00b37f3
Showing 3 changed files with 7 additions and 9 deletions.
8 changes: 3 additions & 5 deletions postpic/__init__.py
Original file line number Diff line number Diff line change
@@ -26,18 +26,16 @@
import datareader
import analyzer
import plotting
from pkg_resources import get_distribution, DistributionNotFound
from analyzer import ParticleAnalyzer, identifyspecies
from datareader import chooseCode, readDump, readSim

__all__ = ['datareader', 'analyzer', 'plotting']

# high level functions
from analyzer import ParticleAnalyzer, identifyspecies
__all__ += ['ParticleAnalyzer', 'identifyspecies']

from datareader import chooseCode, readDump, readSim
__all__ += ['chooseCode', 'readDump', 'readSim']

# read version from installed metadata
from pkg_resources import get_distribution, DistributionNotFound
try:
import os.path
_dist = get_distribution('postpic')
4 changes: 2 additions & 2 deletions postpic/analyzer/fields.py
Original file line number Diff line number Diff line change
@@ -19,12 +19,12 @@
Field related routines.
"""

__all__ = ['FieldAnalyzer']

import numpy as np
from analyzer import PhysicalConstants as pc
from ..datahandling import *

__all__ = ['FieldAnalyzer']


class FieldAnalyzer(object):
'''
4 changes: 2 additions & 2 deletions postpic/analyzer/particles.py
Original file line number Diff line number Diff line change
@@ -19,15 +19,15 @@
Particle related routines.
"""

__all__ = ['ParticleAnalyzer']

import numpy as np
from analyzer import PhysicalConstants as pc
import analyzer
from ..datahandling import *

identifyspecies = analyzer.SpeciesIdentifier.identifyspecies

__all__ = ['ParticleAnalyzer', 'identifyspecies']


class _SingleSpeciesAnalyzer(object):
"""

0 comments on commit 00b37f3

Please sign in to comment.