Skip to content

Commit

Permalink
set type of integer data column
Browse files Browse the repository at this point in the history
  • Loading branch information
weaverba137 committed Nov 1, 2016
1 parent 7a03e76 commit 4db7140
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pydl/pydlutils/tests/test_yanny.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,8 @@ def test_write_table_yanny(self):
b = [2.0, 5.0, 8.2]
c = [b'x', b'y', b'z']
t = Table([a, b, c], names=('a', 'b', 'c'),
meta={'name': 'first table'})
meta={'name': 'first table'},
dtype=('i8', 'f8', 'S1'))
t.write(filename, tablename='test')
par1 = yanny(filename)
par2 = yanny(self.data('test_table.par'))
Expand Down

0 comments on commit 4db7140

Please sign in to comment.