lib/parse_fasta.rb in parse_fasta-1.9.2 vs lib/parse_fasta.rb in parse_fasta-2.0.0
- old
+ new
@@ -1,6 +1,6 @@
-# Copyright 2014, 2015 Ryan Moore
+# Copyright 2014 - 2016 Ryan Moore
# Contact: moorer@udel.edu
#
# This file is part of parse_fasta.
#
# parse_fasta is free software: you can redistribute it and/or modify
@@ -14,27 +14,12 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with parse_fasta. If not, see <http://www.gnu.org/licenses/>.
-require 'parse_fasta/version'
-require 'parse_fasta/fasta_file'
-require 'parse_fasta/fastq_file'
-require 'parse_fasta/seq_file'
-require 'parse_fasta/sequence'
-require 'parse_fasta/quality'
+require "parse_fasta/version"
+require "parse_fasta/record"
+require "parse_fasta/seq_file"
+require "parse_fasta/error"
module ParseFasta
-
- class Error < StandardError
- end
-
- # Error raised when FASTA file is malformed
- class DataFormatError < IOError
- def message
- "Data format error -- check input file"
- end
- end
-
- class SequenceFormatError < Error
- end
end