Skip to content

Commit

Permalink
Added Heasarc cache clearing, Updated pyproject.toml and requirements…
Browse files Browse the repository at this point in the history
….txt
  • Loading branch information
nkphysics committed Jun 22, 2023
1 parent 6615957 commit db14670
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
1 change: 1 addition & 0 deletions autonicer/autonicer.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ def call_nicer(self):
heasarc = Heasarc()
try:
warnings.simplefilter("ignore", category=AstropyWarning)
Heasarc.clear_cache()
xti = heasarc.query_object(
self.obj, mission="nicermastr"
) # calls NICER master catalogue for an input object
Expand Down
5 changes: 3 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "autonicer"
version = "1.2.5"
version = "1.2.6"
description = "A program that retrieves NICER observational data sets and performs a default data reduction process on the NICER observational data"
authors = [
{name = "Tsar Bomba Nick", email = "[email protected]" }
Expand All @@ -14,7 +14,7 @@ readme = "README.md"
requires-python = ">=3.8"
dependencies = [
"astropy >= 4.2.1",
"astroquery >= 0.4.3",
"astroquery >= 0.4.7.dev8479",
"numpy >= 1.20.3",
"pandas >= 1.2.4",
"termcolor >= 1.1.0",
Expand All @@ -28,6 +28,7 @@ dev = [
"pytest-cov >= 3.0.0",
"black >= 22.6.0",
"pytest >= 7.2.0",
"build >= 0.10.0",
]

[tool.setuptools]
Expand Down
5 changes: 3 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
astropy==5.3
astroquery==0.4.6
autonicer @ file:///home/nick/Research/Pulsar_Timing/autoHeasoft/autoNICER
astroquery==0.4.7.dev8479
beautifulsoup4==4.12.2
black==23.3.0
build==0.10.0
certifi==2023.5.7
cffi==1.15.1
charset-normalizer==3.1.0
Expand All @@ -26,6 +26,7 @@ platformdirs==3.5.1
pluggy==1.0.0
pycparser==2.21
pyerfa==2.0.0.3
pyproject_hooks==1.0.0
pytest==7.3.1
pytest-cov==4.1.0
python-dateutil==2.8.2
Expand Down

0 comments on commit db14670

Please sign in to comment.