From fee6f52d6d5d715ea601d79a3656bf24cbc7145c Mon Sep 17 00:00:00 2001 From: Nils Homer Date: Mon, 15 Jul 2024 17:58:52 -0400 Subject: [PATCH] doc: fix duplicate "the" in sequence dictionary docstrings (#1000) --- .../com/fulcrumgenomics/fasta/SequenceDictionary.scala | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/scala/com/fulcrumgenomics/fasta/SequenceDictionary.scala b/src/main/scala/com/fulcrumgenomics/fasta/SequenceDictionary.scala index 94e5c97ec..15a270e82 100644 --- a/src/main/scala/com/fulcrumgenomics/fasta/SequenceDictionary.scala +++ b/src/main/scala/com/fulcrumgenomics/fasta/SequenceDictionary.scala @@ -185,7 +185,7 @@ case class SequenceMetadata private[fasta] this.get(Keys.Topology).flatMap(tp => Topology.values.find(_.name == tp)) } - /** Returns true if the the sequences share a common reference name (including aliases), have the same length, and + /** Returns true if the sequences share a common reference name (including aliases), have the same length, and * the same MD5 if both have MD5s. */ def sameAs(that: SequenceMetadata): Boolean = { if (this.length != that.length) false @@ -267,7 +267,7 @@ case class SequenceDictionary(infos: IndexedSeq[SequenceMetadata]) extends Itera override def iterator: Iterator[SequenceMetadata] = this.infos.iterator def length: Int = this.infos.length - /** Returns true if the the sequences share a common reference name (including aliases), have the same length, and + /** Returns true if the sequences share a common reference name (including aliases), have the same length, and * the same MD5 if both have MD5s. */ def sameAs(that: SequenceDictionary): Boolean = { this.length == that.length && this.zip(that).forall { case (thisInfo, thatInfo) => thisInfo.sameAs(thatInfo) } @@ -350,4 +350,4 @@ object Topology extends FgBioEnum[Topology] { case object Linear extends Topology /** The sequence is circular. */ case object Circular extends Topology -} \ No newline at end of file +}