Skip to content

Commit

Permalink
Toisis (DOI-USGS#118)
Browse files Browse the repository at this point in the history
* Fixes key in measure creation

* Bumps minor minor
  • Loading branch information
jlaura authored and jessemapel committed Jun 17, 2019
1 parent d9c45fa commit 0ad94c8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion plio/io/io_controlnetwork.py
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ def _set_pid(pointid):
measure_spec.serialnumber = m.serialnumber
measure_spec.sample = m.x
measure_spec.line = m.y
measure_spec.type = m.measure_type
measure_spec.type = m.measuretype
measure_iterable.append(measure_spec)
self.nmeasures += 1

Expand Down
4 changes: 2 additions & 2 deletions plio/io/tests/test_io_controlnetwork.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def setUpClass(cls):
serial_times = {295: '1971-07-31T01:24:11.754',
296: '1971-07-31T01:24:36.970'}
cls.serials = {i:'APOLLO15/METRIC/{}'.format(j) for i, j in enumerate(serial_times.values())}
columns = ['point_id', 'type', 'serialnumber', 'measure_type', 'x', 'y', 'image_index']
columns = ['point_id', 'type', 'serialnumber', 'measuretype', 'x', 'y', 'image_index']

data = []
for i in range(cls.npts):
Expand All @@ -54,7 +54,7 @@ def test_create_buffer_header(self):
serial_times = {295: '1971-07-31T01:24:11.754',
296: '1971-07-31T01:24:36.970'}
serials = {i:'APOLLO15/METRIC/{}'.format(j) for i, j in enumerate(serial_times.values())}
columns = ['point_id', 'type', 'serialnumber', 'measure_type', 'x', 'y', 'image_index']
columns = ['point_id', 'type', 'serialnumber', 'measuretype', 'x', 'y', 'image_index']

data = []
for i in range(self.npts):
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
def setup_package():
setup(
name = "plio",
version = '1.2.0',
version = '1.2.1',
author = "Jay Laura",
author_email = "jlaura@usgs.gov",
description = ("I/O API to support planetary data formats."),
Expand Down

0 comments on commit 0ad94c8

Please sign in to comment.