Skip to content

Commit

Permalink
Merge pull request #16 from jnolan14/dev
Browse files Browse the repository at this point in the history
Update utils.py
  • Loading branch information
oulap authored Jul 11, 2024
2 parents ccafc44 + e24857b commit a86dde7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions samseg/subregions/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import scipy.ndimage
import numpy as np
import surfa as sf
from samseg import gems
from samseg.io import kvlReadCompressionLookupTable


def run(cmd):
Expand Down Expand Up @@ -36,7 +36,7 @@ def read_compression_lookup_table(filename):
object down the road.
"""
labelMapping = sf.LabelLookup()
labels, names, colors = gems.kvlReadCompressionLookupTable(filename)
labels, names, colors = kvlReadCompressionLookupTable(filename)
labels = np.array(labels)
for label, name, color in zip(labels, names, colors):
labelMapping[label] = (name, color)
Expand Down

0 comments on commit a86dde7

Please sign in to comment.