|
|
@ -200,7 +200,7 @@ class DataFile:
|
|
|
|
if prefix:
|
|
|
|
if prefix:
|
|
|
|
for op in util.get_list(prefix):
|
|
|
|
for op in util.get_list(prefix):
|
|
|
|
if variables[name_var].startswith(f"{op} "):
|
|
|
|
if variables[name_var].startswith(f"{op} "):
|
|
|
|
sort_name = f"{variables[name_var][len(op):].lstrip()}, {op}"
|
|
|
|
sort_name = f"{variables[name_var][len(op):].strip()}, {op}"
|
|
|
|
break
|
|
|
|
break
|
|
|
|
else:
|
|
|
|
else:
|
|
|
|
raise Failed(f"{self.data_type} Error: template sub-attribute move_prefix is blank")
|
|
|
|
raise Failed(f"{self.data_type} Error: template sub-attribute move_prefix is blank")
|
|
|
|