<commit_before>class Ray < Formula
  desc "Parallel genome assemblies for parallel DNA sequencing"
  homepage "https://denovoassembler.sourceforge.io/"
  bottle do
    cellar :any
    sha256 "d7619f3b6326643113fabfcbfe2c2ed6db57c8748e6679491050b1bdecadcb01" => :el_capitan
    sha256 "6fc8e695923a3492203d41614d6ccbe685f30645110e9788a64076eab1b52928" => :yosemite
    sha256 "190bc6ad483f41afacd886718c750e960d1b828ac0901ea9bb625f558c70bf42" => :mavericks
  end

  # doi "10.1089/cmb.2009.0238"
  # tag "bioinformatics"

  url "https://downloads.sourceforge.net/project/denovoassembler/Ray-2.3.1.tar.bz2"
  sha256 "3122edcdf97272af3014f959eab9a0f0e5a02c8ffc897d842b06b06ccd748036"
  revision 1

  head "https://github.com/sebhtml/ray.git"

  resource "RayPlatform" do
    # homepage "https://github.com/sebhtml/RayPlatform"
    url "https://github.com/sebhtml/RayPlatform.git"
  end

  depends_on :mpi => :cxx

  fails_with :gcc do
    build 5666
    cause "error: wrong number of arguments specified for '__deprecated__' attribute"
  end

  def install
    if build.head?
      rm "RayPlatform" # Remove the broken symlink
      resource("RayPlatform").stage buildpath/"RayPlatform"
    end

    system "make", "PREFIX=#{prefix}"
    system "make", "install"
    # The binary "Ray" is installed in the prefix, but we want it in bin:
    bin.install prefix/"Ray"
  end

  test do
    system bin/"Ray", "--version"
  end
end
<commit_msg>ray: update 2.3.1_1 bottle for Linuxbrew.<commit_after>class Ray < Formula
  desc "Parallel genome assemblies for parallel DNA sequencing"
  homepage "https://denovoassembler.sourceforge.io/"
  bottle do
    cellar :any
    sha256 "d7619f3b6326643113fabfcbfe2c2ed6db57c8748e6679491050b1bdecadcb01" => :el_capitan
    sha256 "6fc8e695923a3492203d41614d6ccbe685f30645110e9788a64076eab1b52928" => :yosemite
    sha256 "190bc6ad483f41afacd886718c750e960d1b828ac0901ea9bb625f558c70bf42" => :mavericks
    sha256 "b09cc44b1eae5eb97ce551ef2c0d229eca3cc204b8d73718d0e1f67f3c02418e" => :x86_64_linux
  end

  # doi "10.1089/cmb.2009.0238"
  # tag "bioinformatics"

  url "https://downloads.sourceforge.net/project/denovoassembler/Ray-2.3.1.tar.bz2"
  sha256 "3122edcdf97272af3014f959eab9a0f0e5a02c8ffc897d842b06b06ccd748036"
  revision 1

  head "https://github.com/sebhtml/ray.git"

  resource "RayPlatform" do
    # homepage "https://github.com/sebhtml/RayPlatform"
    url "https://github.com/sebhtml/RayPlatform.git"
  end

  depends_on :mpi => :cxx

  fails_with :gcc do
    build 5666
    cause "error: wrong number of arguments specified for '__deprecated__' attribute"
  end

  def install
    if build.head?
      rm "RayPlatform" # Remove the broken symlink
      resource("RayPlatform").stage buildpath/"RayPlatform"
    end

    system "make", "PREFIX=#{prefix}"
    system "make", "install"
    # The binary "Ray" is installed in the prefix, but we want it in bin:
    bin.install prefix/"Ray"
  end

  test do
    system bin/"Ray", "--version"
  end
end

{'fraction_non_alphanumeric': 0.09649415692821368, 'fraction_numerical': 0.14791318864774625, 'mean_word_length': 4.121367521367521, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 12, 'https://': 10, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4339122', 'n_tokens_mistral': 1401, 'n_tokens_neox': 1147, 'n_words': 226}