-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathCHANGES
More file actions
296 lines (178 loc) · 8.04 KB
/
Copy pathCHANGES
File metadata and controls
296 lines (178 loc) · 8.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
CHANGES
--------
Version 0.9.7
The main change in this version is that Astropy is now required as a
dependency, and PyFITS, vo, and asciitable are no longer required.
The documentation now includes a migration guide for using astropy.table
instead of ATpy.
Improvements
~~~~~~~~~~~~
- The tests have been re-factored and can now run on Travis-CI
(http://www.travis-ci.org) to ensure stability in future.
Bug fixes
~~~~~~~~~
- Fixed a bug which caused ATpy to crash if a VO table contained no data
(thanks to @gellule)
- Allow table type to be unicode (thnaks to @ChrisBeaumont)
Version 0.9.6
New Features
~~~~~~~~~~~~
- filenames can now be specified as HTTP or FTP URLs, which will cause
files to be downloaded on-the-fly
- tables can now be read from gzip and bzip2 files for any file-based
format
- tables can now be read from any file object for any file-based format
- added support for LaTeX read/write via asciitable
- PARAM values in VO tables are now read/written as keywords
API Changes
~~~~~~~~~~~
- formats for ASCII output are now Python 2.x formatting specifiers
(instead of tuples).
- added support for memmap= option in FITS tables and table sets
Bug fixes
~~~~~~~~~
- filenames can now be passed as any basestring object, not just str
- when reading from VO tables, the column ID is used instead of the name
since the ID is guaranteed to be unique.
- fixed compatibility with PyFITS 3.0.x
- fixed compatibility with recent versions of h5py
Version 0.9.5.3
Minor fixes
Version 0.9.5.2
Removed automatic cleaning of VO column names
Version 0.9.5.1
Fixed a crash that occurred when importing ATpy if vo was not present
Version 0.9.5
Notes
~~~~~
ATpy is now released under an MIT license
New Features
~~~~~~~~~~~~
- added support for querying the IRSA archive and the Virtual Observatory.
See http://atpy.github.com/format_online.html for more details.
- added support for writing arbitrary ASCII tables using the asciitable module
- added support for copying all column metadata in one go when creating a
new column based on an old column:
>>> t.add_column('b', column_header=t.columns[a])
- read attributes from HDF5 tables
- allow tables to be read/written directly to HDF5 groups
- added a simple HTML writer
API/Internal changes
~~~~~~~~~~~~~~~~~~~~
- use an ordered dictionary for keywords to preserve order
Bug fixes
~~~~~~~~~
- improved handling of booleans in FITS tables
- fixed minor bugs in reading in tables from HDF5 files
- ensure that VO table column names are valid python variable names (patch
provided by Marshall Perrin)
Version 0.9.4
New Features
~~~~~~~~~~~~
- specify whether to used masked arrays by default via an .atpyrc file
and/or via a set_masked_default function.
- added support for the asciitable module, which opens up support to read
in arbitrary ASCII tables. Formats supported by default include CDS
format (aka Machine Readable Tables), RDB, and DAOphot tables. In
addition, the full asciitable API is available.
- added support for reading/writing Table and TableSet to HDF5 files. This
includes appending to existing files, and reading from/writing to
groups.
- improved output when doing 'print table' where table is a Table
instance.
- added support for Python 3
API/Internal changes
~~~~~~~~~~~~~~~~~~~~
- significant speedup for reading large FITS tables
- table columns can now be accessed using the item notation, t['column']
- table can now be accessed by name in table sets, via ts['table_name']
Bug fixes
~~~~~~~~~
- fixed a bug that prevented ASCII FITS tables from being read in
- fixed a bug that meant that only the first table in a list was used when
creating a TableSet from a list of Tables.
- fixed copy() method for Table
- fixed several other minor bugs
Version 0.9.3
Restores compatibility with Python 2.5
Version 0.9.2
The main change in this version is that internal data storage is now done
using NumPy structured arrays (and optionally NumPy masked structured
arrays). We have worked on preventing precision loss and improving
conservation of column types when reading/writing to files/databases.
Finally, we have re-vamped the documentation.
New Features
~~~~~~~~~~~~
- tables are now stored as structured arrays
- new masked= argument during Table initialization (default is False).
Allows masked arrays to be used. To use this feature, it is preferable
to be using a recent svn NumPy version.
- full SQL queries for MySQL, PostGreSQL, and SQLite
- access column information through Table.columns, indexed either by
column name or number. Supports iteration.
- verbose argument for read/write
- new Table.rows() method to select specific rows
- new Table.add_empty_column() method
- new Table.append() method to combine two tables
- new Table.sort() method
- added comments/keywords for TableSet() class as a whole
- new before=/after=/position= arguments for Table.add_column() and
Table.add_empty_column()
- new smart_typing= argument for IPAC tables (see docstring)
- raise Exception if SQL query returns no results
- basic support for primary keys
- added 'overwrite' argument for all types
API/Internal changes
~~~~~~~~~~~~~~~~~~~~
- fits_read, vo_read, ipac_read, sql_read, and equivalent methods are now
depracated - use read(...) instead and specify type= if necessary.
- Table.units, Table.types, Table.nulls, and Table.formats are deprecated.
Use Table.columns instead.
- Read/Write methods are now 'registered' with ATpy, rather than being
inherited by the Table class. This allows users to write their own
readers/writers and register them with atpy.register_reader,
atpy.register_writer, atpy.register_set_reader, and
atpy.register_set_writer
- Allow users to specify new extensions to associate with different table
types via atpy.register_extensions
Bug fixes
~~~~~~~~~
- fixed a bug that meant that values could not be assigned when accessing
a column via attributes (e.g. t.column_name[1] = 1)
- fixed a bug with creating empty table sets
- fixed a bug with pedantic= option for VO tables
- fixed a bug that prevented lists from being passed to add_column
- fixed float precision for IPAC and VO tables
- better handling of the different integer types (unsigned/signed 8, 16,
32, 64-bit) for VO tables, FITS tbales, and SQL databases
- fixed bug when writing strings to FITS files
- fixed issues when reading strings from SQL databases
- new unittest.py
Version 0.9.1
The main changes with this update are the removal of the pkg_ressources
module dependency (which caused problems for a number of users) and a
number of bug fixes.
New Features
~~~~~~~~~~~~
- removed pkg_ressources dependency. Versions are now checked using
distutils, which is more standard
- added support for boolean columns in FITS and VO tables
API changes
~~~~~~~~~~~
- added dtype= argument to Table.add_column to force conversion to a
given type on the fly
- added pendatic= argument for VO Table
- tables in SQL databases are now referred to by name instead of tid
Bug fixes
~~~~~~~~~
- fixed an issue which occurred with string columns in VO tables on
MacOS X with Python 2.6 64-bit
- fixed a bug which prevented the where() method to work correctly
- improved handling of null values
- allow non-standard 'long' datatype for IPAC tables
- fixed bug with remove_column
- improved handling of SQL tables
- fixed bug with IPAC table output
- fixed several other minor bugs
Version 0.9.0
First public beta release