diff options
-rw-r--r-- | rumba/prototypes/irati.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rumba/prototypes/irati.py b/rumba/prototypes/irati.py index 0807e10..b951d58 100644 --- a/rumba/prototypes/irati.py +++ b/rumba/prototypes/irati.py @@ -266,8 +266,8 @@ class Experiment(mod.Experiment): if len(self.dif_ordering) > 0: for adm in \ irati_templates.da_map_base["applicationToDIFMappings"]: - adm["difName"] = "%s" % (self.dif_ordering[-1],) - else: + adm["difName"] = "%s" % (self.dif_ordering[-1].name,) + else: # not yet supported irati_templates.da_map_base["applicationToDIFMappings"] = [] for apm in app_mappings: irati_templates.da_map_base["applicationToDIFMappings"]\ |