<commit_before>/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package de.charite.compbio.exomiser.core.writers.phenogrid;

import com.fasterxml.jackson.annotation.JsonIgnore;
import de.charite.compbio.exomiser.core.model.PhenotypeMatch;
import de.charite.compbio.exomiser.core.model.PhenotypeTerm;
import java.util.List;
import java.util.Set;
import java.util.TreeSet;

/**
 * Data transport object for outputting phenotype match data to a disease or
 * gene phenotype.
 *
 * @author <NAME> <<EMAIL>>
 */
public class PhenoGridMatch {

    private final String id;
    private final String label;
    private final String type;

    private final List<PhenotypeMatch> matches;
    private final PhenoGridMatchScore score;
    private final PhenoGridMatchTaxon taxon;

    PhenoGridMatch(String id, String label, String type, List<PhenotypeMatch> phenotypeMatches, PhenoGridMatchScore score, PhenoGridMatchTaxon taxon) {
        this.id = id;
        this.label = label;
        this.type = type;
        this.matches = phenotypeMatches;
        this.score = score;
        this.taxon = taxon;
    }

    public String getId() {
        return id;
    }

    public String getLabel() {
        return label;
    }
<commit_msg>Made PhenoGridMatch constructor public as this made life easier....<commit_after>/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package de.charite.compbio.exomiser.core.writers.phenogrid;

import com.fasterxml.jackson.annotation.JsonIgnore;
import de.charite.compbio.exomiser.core.model.PhenotypeMatch;
import de.charite.compbio.exomiser.core.model.PhenotypeTerm;
import java.util.List;
import java.util.Set;
import java.util.TreeSet;

/**
 * Data transport object for outputting phenotype match data to a disease or
 * gene phenotype.
 *
 * @author <NAME> <<EMAIL>>
 */
public class PhenoGridMatch {

    private final String id;
    private final String label;
    private final String type;

    private final List<PhenotypeMatch> matches;
    private final PhenoGridMatchScore score;
    private final PhenoGridMatchTaxon taxon;

    public PhenoGridMatch(String id, String label, String type, List<PhenotypeMatch> phenotypeMatches, PhenoGridMatchScore score, PhenoGridMatchTaxon taxon) {
        this.id = id;
        this.label = label;
        this.type = type;
        this.matches = phenotypeMatches;
        this.score = score;
        this.taxon = taxon;
    }

    public String getId() {
        return id;
    }

    public String getLabel() {
        return label;
    }

{'fraction_non_alphanumeric': 0.08396124865446716, 'fraction_numerical': 0.0, 'mean_word_length': 3.3699059561128526, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4269394', 'n_tokens_mistral': 842, 'n_tokens_neox': 800, 'n_words': 247}