Skip to content
This repository has been archived by the owner on Mar 17, 2021. It is now read-only.

Commit

Permalink
Merge branch 'read-the-docs' into 'dev'
Browse files Browse the repository at this point in the history
label_norm tags

See merge request !160
  • Loading branch information
wyli committed Dec 13, 2017
2 parents 52bdb9e + dd4407e commit a389041
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions niftynet/layer/discrete_label_normalisation.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ def __init__(self,
@property
def key(self):
# provide a readable key for the label mapping item
key_from = "{}_{}-from".format(self.image_name, self.modalities[0])
key_to = "{}_{}-to".format(self.image_name, self.modalities[0])
key_from = "{}:{}:from".format(self.image_name, self.modalities[0])
key_to = "{}:{}:to".format(self.image_name, self.modalities[0])
return standardise_string(key_from), standardise_string(key_to)

def layer_op(self, image, mask=None):
Expand Down

0 comments on commit a389041

Please sign in to comment.