<commit_before>package org.ossim.omar

import org.apache.commons.io.FileUtils
import org.ossim.omar.raster.RasterEntry
import org.ossim.omar.raster.RasterFile

import static groovyx.gpars.GParsPool.withPool

class DownloadController
{

  def raster(Long rasterEntryId)
  {
    def fileList = []
    def rasterEntry = RasterEntry.get( rasterEntryId )

    if ( rasterEntry )
    {
      def rasterFiles = RasterFile.findByRasterDataSet( rasterEntry.rasterDataSet )

      withPool {
        fileList = rasterFiles?.collectParallel {
          def file = it.name as File
          [
              name: file.absolutePath,
              size: FileUtils.byteCountToDisplaySize( file.size() ),
              date: new Date( file.lastModified() )
          ]
        }<commit_msg>Download page wasn't picking up all the files due to<commit_after>package org.ossim.omar

import org.apache.commons.io.FileUtils
import org.ossim.omar.raster.RasterEntry
import org.ossim.omar.raster.RasterFile

import static groovyx.gpars.GParsPool.withPool

class DownloadController
{

  def raster(Long rasterEntryId)
  {
    def fileList = []
    def rasterEntry = RasterEntry.get( rasterEntryId )

    if ( rasterEntry )
    {
      def rasterFiles = RasterFile.findAllByRasterDataSet( rasterEntry.rasterDataSet )

      withPool {
        fileList = rasterFiles?.collectParallel {
          def file = it.name as File
          [
              name: file.absolutePath,
              size: FileUtils.byteCountToDisplaySize( file.size() ),
              date: new Date( file.lastModified() )
          ]
        }
{'fraction_non_alphanumeric': 0.08364779874213836, 'fraction_numerical': 0.0, 'mean_word_length': 2.5995475113122173, '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': 3, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2406512', 'n_tokens_mistral': 495, 'n_tokens_neox': 490, 'n_words': 99}