Github user nicolas-kourtellis commented on a diff in the pull request:

    https://github.com/apache/incubator-samoa/pull/60#discussion_r123262757
  
    --- Diff: 
samoa-instances/src/main/java/org/apache/samoa/instances/Attribute.java ---
    @@ -199,7 +196,14 @@ public String toString() {
         text.append(ARFF_ATTRIBUTE).append(" 
").append(Utils.quote(this.name)).append(" ");
     
         if (isNominal) {
    -      text.append(ARFF_ATTRIBUTE_NOMINAL);
    +      text.append('{');
    +      Enumeration enu =  enumerateValues();
    +      while (enu.hasMoreElements()) {
    +        text.append(Utils.quote((String) enu.nextElement()));
    +        if (enu.hasMoreElements())
    +          text.append(',');
    +      }
    +      text.append('}');
    --- End diff --
    
    Hi @fobeligi,
    Was the previous one not working properly?
    Do we need to construct the arff format explicitly?
    Thanks!


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to