Skip to content

Commit

Permalink
fix: version number
Browse files Browse the repository at this point in the history
  • Loading branch information
njzjz committed Feb 9, 2019
1 parent c87683f commit f440339
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 17 deletions.
19 changes: 18 additions & 1 deletion reacnetgenerator/__init__.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,33 @@
# Copyright 2018-2019, East China Normal University
"""ReacNetGen."""

__date__ = '2018-03-11'
__update__ = '2019-02-10'
__author__ = 'Jinzhe Zeng'
__email__ = 'jzzeng@stu.ecnu.edu.cn'
__credits__ = ['Jinzhe Zeng', 'Tong Zhu',
'Liqun Cao', 'Chih-Hao Chin', 'John ZH Zhang']
__copyright__ = 'Copyright 2018-2019, East China Normal University'


import logging

import coloredlogs
import matplotlib as mpl
mpl.use("svg") # noqa
from pkg_resources import DistributionNotFound, get_distribution

from .reacnetgen import ReacNetGenerator

from .reacnetgen import ReacNetGenerator, __version__

__all__ = ['ReacNetGenerator']

try:
__version__ = get_distribution(__name__).version
except DistributionNotFound:
# package is not installed
__version__ = ''

coloredlogs.install(
fmt=f'%(asctime)s - ReacNetGen {__version__} - %(levelname)s: %(message)s',
level=logging.INFO, milliseconds=True)
17 changes: 1 addition & 16 deletions reacnetgenerator/reacnetgen.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,6 @@
$ reacnetgenerator -h
"""

__version__ = '1.2.25'
__date__ = '2018-03-11'
__update__ = '2019-02-01'
__author__ = 'Jinzhe Zeng'
__email__ = 'jzzeng@stu.ecnu.edu.cn'
__credits__ = ['Jinzhe Zeng', 'Tong Zhu',
'Liqun Cao', 'Chih-Hao Chin', 'John ZH Zhang']
__copyright__ = 'Copyright 2018-2019, East China Normal University'


import argparse
import base64
Expand All @@ -61,21 +52,15 @@
from multiprocessing import cpu_count

import numpy as np
from pkg_resources import DistributionNotFound, get_distribution

from . import __version__, __date__, __update__
from ._detect import InputFileType, _Detect
from ._draw import _DrawNetwork
from ._hmmfilter import _HMMFilter
from ._matrix import _GenerateMatrix
from ._path import _CollectPaths
from ._reachtml import _HTMLResult

try:
__version__ = get_distribution(__name__).version
except DistributionNotFound:
# package is not installed
pass


class ReacNetGenerator:
"""Use ReacNetGenerator for trajectory analysis."""
Expand Down

0 comments on commit f440339

Please sign in to comment.