Skip to content

Commit

Permalink
binary data compatibility (#301)
Browse files Browse the repository at this point in the history
* binary data compatibility

* check type

* keep columns

* typo back

* revert changes

* restrict astropy, setuptools

* requirements

* no setuptools restriction

* try hisher ver

* higher

* syntax

* le

* ver6.1.5

* ver6.1.3

* ver6.1.4

* also restrict in pyproject.toml
  • Loading branch information
dsavchenko authored Nov 18, 2024
1 parent e4934bd commit 810d3b1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion oda_api/data_products.py
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ def _map_hdu_type(hdu):

def new_hdu_from_data(self,data,hdu_type, header=None,units_dict=None):

self._chekc_hdu_type(hdu_type)
self._check_hdu_type(hdu_type)

if hdu_type=='primary':
h = pf.PrimaryHDU
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ requires-python = ">=2.7"
dependencies = [
"requests",
"future",
"astropy>=3.2",
"astropy>=3.2,<=6.1.4",
"json_tricks",
"matplotlib",
"numpy",
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
requests
future
astropy
astropy<=6.1.4
json_tricks
matplotlib
numpy
Expand Down

0 comments on commit 810d3b1

Please sign in to comment.