// Path: corehunter-base/src/main/java/org/corehunter/data/PhenotypeData.java
// public interface PhenotypeData extends FeatureData {
// 
// }


import uno.informatics.common.io.text.TextFileRowWriter;
import uno.informatics.data.DataOption;
import uno.informatics.data.Feature;
import uno.informatics.data.Scale;
import uno.informatics.data.SimpleEntity;
import uno.informatics.data.feature.array.ArrayFeatureData;
import uno.informatics.data.io.FileType;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Path;
import java.util.ArrayList;
import java.util.List;
import java.util.Set;
import org.corehunter.data.PhenotypeData;
import org.jamesframework.core.subset.SubsetSolution;
import uno.informatics.common.io.IOUtilities;
import uno.informatics.common.io.RowWriter;
                writer.writeCell(feature.getMethod().getScale().getMinimumValue());
            }
            
            // write trait max value row
            writer.newRow();
            
            if (includeId) {
                writer.newColumn();
            }
            
            writer.writeCell(MAX);
            writer.newColumn();
            
            if(markSelection){
                writer.newColumn();
            }
            
            for(Feature feature : getFeatures()){
                writer.newColumn();
                writer.writeCell(feature.getMethod().getScale().getMaximumValue());
            }

            // obtain sorted list of IDs included in output
            Set<Integer> includedIDs;
            if (markSelection) {
                includedIDs = getIDs();
            } else if (includeSelected) {
                includedIDs = solution.getSelectedIDs();
            } else if (includeUnselected) {
                includedIDs = solution.getUnselectedIDs();
// Path: corehunter-base/src/main/java/org/corehunter/data/PhenotypeData.java
// public interface PhenotypeData extends FeatureData {
// 
// }


// Path: corehunter-base/src/main/java/org/corehunter/data/simple/SimplePhenotypeData.java
import uno.informatics.common.io.text.TextFileRowWriter;
import uno.informatics.data.DataOption;
import uno.informatics.data.Feature;
import uno.informatics.data.Scale;
import uno.informatics.data.SimpleEntity;
import uno.informatics.data.feature.array.ArrayFeatureData;
import uno.informatics.data.io.FileType;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Path;
import java.util.ArrayList;
import java.util.List;
import java.util.Set;
import org.corehunter.data.PhenotypeData;
import org.jamesframework.core.subset.SubsetSolution;
import uno.informatics.common.io.IOUtilities;
import uno.informatics.common.io.RowWriter;

                writer.writeCell(feature.getMethod().getScale().getMinimumValue());
            }
            
            // write trait max value row
            writer.newRow();
            
            if (includeId) {
                writer.newColumn();
            }
            
            writer.writeCell(MAX);
            writer.newColumn();
            
            if(markSelection){
                writer.newColumn();
            }
            
            for(Feature feature : getFeatures()){
                writer.newColumn();
                writer.writeCell(feature.getMethod().getScale().getMaximumValue());
            }

            // obtain sorted list of IDs included in output
            Set<Integer> includedIDs;
            if (markSelection) {
                includedIDs = getIDs();
            } else if (includeSelected) {
                includedIDs = solution.getSelectedIDs();
            } else if (includeUnselected) {
                includedIDs = solution.getUnselectedIDs();
            } else {