diff --git a/modules/io/tests/test_mmcif_writer.cc b/modules/io/tests/test_mmcif_writer.cc
index 6ac8587c608682cbfe37a5e0c33aa525bed8db6b..2f6f6745bf6106a3cefdea928993ec7014675683 100644
--- a/modules/io/tests/test_mmcif_writer.cc
+++ b/modules/io/tests/test_mmcif_writer.cc
@@ -372,7 +372,7 @@ BOOST_AUTO_TEST_CASE(mmcif_writer_small_sugars)
   writer.Write("test", out);
 
   String s=out.str();
-  // Check that the mmCIF output contains 2 non-polymer entities
+  // Check that the mmCIF output contains a branched entity
   BOOST_CHECK_NE(s.find("loop_\n_entity.id\n_entity.type\n1 branched"),
                  String::npos);
   // Check that atoms are HETATMs since non-poly
diff --git a/modules/seq/alg/doc/seqalg.rst b/modules/seq/alg/doc/seqalg.rst
index a092012d9b019730ec6bbe73fa5282405546394e..75593e9f20ae1e57c45a64a19f4e08decd5ef80f 100644
--- a/modules/seq/alg/doc/seqalg.rst
+++ b/modules/seq/alg/doc/seqalg.rst
@@ -226,7 +226,7 @@ Algorithms for Alignments
     calculated as the number of matches divided by the length of the longer
     sequence. If set to `seq.alg.RefMode.ALIGNMENT` (the default), the sequence
     identity is calculated as the number of matches divided by the number of
-    aligned residues. 
+    aligned residues (not including the gaps).
   :type ref_mode: int
   :param seq_a: the index of the first sequence
   :type seq_a: int