<commit_before>package ca.corefacility.bioinformatics.irida.web.spring.view;

import java.io.OutputStream;
import java.nio.file.Files;
import java.nio.file.Path;
import java.util.Map;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.servlet.view.AbstractView;

import ca.corefacility.bioinformatics.irida.model.sequenceFile.SequenceFile;
import ca.corefacility.bioinformatics.irida.model.workflow.analysis.AnalysisOutputFile;
import ca.corefacility.bioinformatics.irida.web.controller.api.RESTGenericController;

import com.google.common.net.HttpHeaders;

/**
 * Write out FASTQ formatted sequence files to the client.
 *
 */
public class NewickFileView extends AbstractView {
	public static final String DEFAULT_CONTENT_TYPE = "application/newick";
	private static final Logger logger = LoggerFactory.getLogger(NewickFileView.class);

	/**
	 * Default constructor
	 */
	public NewickFileView() {
		setContentType(DEFAULT_CONTENT_TYPE);
	}

	/**
	 * {@inheritDoc}
	 */<commit_msg>removed unused<commit_after>package ca.corefacility.bioinformatics.irida.web.spring.view;

import java.io.OutputStream;
import java.nio.file.Files;
import java.nio.file.Path;
import java.util.Map;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.servlet.view.AbstractView;

import ca.corefacility.bioinformatics.irida.model.workflow.analysis.AnalysisOutputFile;
import ca.corefacility.bioinformatics.irida.web.controller.api.RESTGenericController;

import com.google.common.net.HttpHeaders;

/**
 * Write out FASTQ formatted sequence files to the client.
 *
 */
public class NewickFileView extends AbstractView {
	public static final String DEFAULT_CONTENT_TYPE = "application/newick";
	private static final Logger logger = LoggerFactory.getLogger(NewickFileView.class);

	/**
	 * Default constructor
	 */
	public NewickFileView() {
		setContentType(DEFAULT_CONTENT_TYPE);
	}

	/**
	 * {@inheritDoc}
	 */
{'fraction_non_alphanumeric': 0.10269516728624535, 'fraction_numerical': 0.0018587360594795538, 'mean_word_length': 5.604294478527607, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, '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': '3440821', 'n_tokens_mistral': 670, 'n_tokens_neox': 642, 'n_words': 119}