Browse Source

Fixed error message

Ioannis Agtzidis 5 years ago
parent
commit
4d813277c8
1 changed files with 1 additions and 1 deletions
  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
     for i=1:size(attributes,1)
         if (strcmpi(attributes{i,1}, attName))
-            error(['Attributes "' attName '" already exists in file ' arffFile]);
+            error(['Attributes "' attName '" already exists. Cannot add it.']);
         end
     end