Skip to content

Commit

Permalink
Back port pvl label decoding.
Browse files Browse the repository at this point in the history
  • Loading branch information
wtolson committed Oct 30, 2015
1 parent b827bb0 commit ccee0fd
Show file tree
Hide file tree
Showing 8 changed files with 4 additions and 1,875 deletions.
6 changes: 3 additions & 3 deletions pysis/cubefile.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# -*- coding: utf-8 -*-

import numpy
from six import string_types
import pvl

from six import string_types
from six.moves import range

from .labels import load as load_label
from .specialpixels import SPECIAL_PIXELS


Expand Down Expand Up @@ -230,7 +230,7 @@ def size(self):
return self.bands * self.lines * self.samples

def _parse_label(self, stream):
return load_label(stream)
return pvl.load(stream)

def _parse_data(self, stream):
stream.seek(self.start_byte)
Expand Down
58 changes: 0 additions & 58 deletions pysis/labels/__init__.py

This file was deleted.

147 changes: 0 additions & 147 deletions pysis/labels/_collections.py

This file was deleted.

Loading

0 comments on commit ccee0fd

Please sign in to comment.