Skip to content

Commit

Permalink
Merge pull request #35 from shbhuk/Minor-bug-warnings
Browse files Browse the repository at this point in the history
Warnings not propagating
  • Loading branch information
shbhuk authored May 3, 2020
2 parents 5fcd883 + 05556aa commit 7642532
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# barycorrpy (v0.3)
# barycorrpy (v0.3.2)

[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.1115856.svg)](https://doi.org/10.5281/zenodo.1115856)

Expand Down
2 changes: 1 addition & 1 deletion barycorrpy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
from .barycorrpy import get_BC_vel,BCPy,exposure_meter_BC_vel
from .SolarSystemBC import SolarBarycentricCorrection

__version__ = '0.3.1'
__version__ = '0.3.2'
4 changes: 2 additions & 2 deletions barycorrpy/utc_tdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
from .utils import get_stellar_data,find_hip
from .PhysicalConstants import *


fpath=os.path.join(os.path.dirname(__file__),'data')

def staleness_check(file_time,now):
'''
Expand Down Expand Up @@ -165,7 +165,7 @@ def leap_manage(utctime,fpath,leap_update):
return tai_utc , warning , error


def JDUTC_to_JDTDB(utctime,leap_update=True,fpath=os.path.join(os.path.dirname(__file__),'data')):
def JDUTC_to_JDTDB(utctime,leap_update=True,fpath=fpath):
'''
Convert JDUTC to JDTDB (Barycentric Dynamical Time)
INPUT:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ def readme():


setup(name='barycorrpy',
version='0.3.1',
version='0.3.2',
description='Barycentric Velocity correction at 1 cm/s level',
long_description=readme(),
url='https://github.com/shbhuk/barycorrpy',
Expand Down

0 comments on commit 7642532

Please sign in to comment.