浏览代码

Fixed error message

Ioannis Agtzidis 5 年之前
父节点
当前提交
4d813277c8
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      AddAttArff.m

+ 1 - 1
AddAttArff.m

@@ -23,7 +23,7 @@ function [newData, newAttributes] = AddAttArff(data, attributes, attData, attNam
 	% check if attribute already exists
 	% check if attribute already exists
     for i=1:size(attributes,1)
     for i=1:size(attributes,1)
         if (strcmpi(attributes{i,1}, attName))
         if (strcmpi(attributes{i,1}, attName))
-            error(['Attributes "' attName '" already exists in file ' arffFile]);
+            error(['Attributes "' attName '" already exists. Cannot add it.']);
         end
         end
     end
     end