summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@gmail.com>2014-08-08 15:15:00 +0100
committerRichard Maw <richard.maw@codethink.co.uk>2014-08-19 15:49:02 +0000
commit75c580e7d25cf90631bf2ecca3457b4bf7d4fdb9 (patch)
tree64f11270232edc602538bf3338a413bd7baf7ebc
parent57d77ff761e4b0cf89b161776ab33611533965d3 (diff)
downloaddefinitions-75c580e7d25cf90631bf2ecca3457b4bf7d4fdb9.tar.gz
Implement load_cluster_systems in terms of load_morphology
-rwxr-xr-xscripts/release-test3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/release-test b/scripts/release-test
index 445eda9c..ec171d52 100755
--- a/scripts/release-test
+++ b/scripts/release-test
@@ -66,8 +66,7 @@ class MorphologyHelper(object):
def load_cluster_systems(self, cluster_morph):
for system_path in set(self.iterate_systems(cluster_morph['systems'])):
- system_text = self.finder.read_morphology(system_path)
- system_morph = self.loader.load_from_string(system_text)
+ system_morph = self.load_morphology(system_path)
yield system_path, system_morph