summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Phang <christopher.phang@codethink.co.uk>2016-09-26 15:23:54 +0000
committerChristopher Phang <christopher.phang@codethink.co.uk>2016-09-26 16:42:10 +0000
commitea4ac064c805e242f196a493d5123523b57f8b93 (patch)
tree77e617258683720a6cdc2bbe2994be5536ddeb54
parent6406a6992b709b4ae65de5b2f7b27cb005a2ec8d (diff)
downloadimport-ea4ac064c805e242f196a493d5123523b57f8b93.tar.gz
morphsetondisk: removal of unset_defaults functionHEADmaster
unset_defaults were still used in save_morphology despite being deprecated in commit 7d5804051531147298085d4db1b81ffd4b3c10c6 in morph. This was found through use of baserock-import. Change-Id: Ic6a58a4515cebf1fe6c47bd43caf6cf1d18d0d2c
-rw-r--r--baserockimport/morphsetondisk.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/baserockimport/morphsetondisk.py b/baserockimport/morphsetondisk.py
index 4070557..cd69748 100644
--- a/baserockimport/morphsetondisk.py
+++ b/baserockimport/morphsetondisk.py
@@ -62,6 +62,5 @@ class MorphologySetOnDisk(morphlib.morphset.MorphologySet):
def save_morphology(self, filename, morphology):
self.add_morphology(morphology)
morphology_to_save = copy.copy(morphology)
- self.loader.unset_defaults(morphology_to_save)
filename = os.path.join(self.path, filename)
self.loader.save_to_file(filename, morphology_to_save)