arff: fixed soybean due to capitalization differences
This commit is contained in:
+2
-2
@@ -114,10 +114,10 @@ namespace ARFF {
|
||||
parser >> token;
|
||||
// Signifies beginning of data
|
||||
// Might add a boolean later to mark this
|
||||
if (token == "@data") {
|
||||
if (token == "@data" || token == "@DATA") {
|
||||
return;
|
||||
}
|
||||
if (token == "@relation") {
|
||||
if (token == "@relation" || token == "@RELATION") {
|
||||
parser >> token;
|
||||
relation = token;
|
||||
LogInfo("ARFF/Attribute", "Relation set: " + relation);
|
||||
|
||||
Reference in New Issue
Block a user