From 360135fd0d325c26d80e56183701e91f3144aa92 Mon Sep 17 00:00:00 2001 From: Kim Rutherford Date: Thu, 28 Nov 2024 01:47:33 +1300 Subject: [PATCH] Fix failing test --- t/80_curs_service_utils.t | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/t/80_curs_service_utils.t b/t/80_curs_service_utils.t index 688c257b1..a5baaaa9f 100644 --- a/t/80_curs_service_utils.t +++ b/t/80_curs_service_utils.t @@ -489,7 +489,7 @@ is ($res->{annotation}->{term_ontid}, 'GO:0022857'); is ($res->{annotation}->{term_name}, 'transmembrane transporter activity'); is ($res->{annotation}->{evidence_code}, 'IDA'); is ($res->{annotation}->{submitter_comment}, undef); -is ($res->{annotation}->{curator}, 'Some Testperson '); +is ($res->{annotation}->{curator}, 'Some Testperson'); is ($c2d7_gene->direct_annotations()->count(), 2); @@ -637,7 +637,7 @@ cmp_deeply($annotation_res, 'feature_id' => 3, 'qualifiers' => [], 'with_or_from_identifier' => 'SPAC27D7.13c', - 'curator' => 'Some Testperson ', + 'curator' => 'Some Testperson', 'needs_with' => '1', 'gene_name_or_identifier' => 'doa10', 'is_obsolete_term' => 0, @@ -700,7 +700,7 @@ cmp_deeply($annotation_res, 'annotation_type' => 'molecular_function', 'status' => 'new', 'annotation_id' => 3, - 'curator' => 'Some Testperson ', + 'curator' => 'Some Testperson', 'with_or_from_identifier' => undef, 'with_gene_id' => undef, 'qualifiers' => [], @@ -735,7 +735,7 @@ cmp_deeply($annotation_res, 'needs_with' => undef, 'qualifiers' => [], 'with_or_from_identifier' => undef, - 'curator' => 'Some Testperson ', + 'curator' => 'Some Testperson', 'extension' => [], 'annotation_type' => 'biological_process', 'gene_product' => 'p150-Glued', @@ -851,7 +851,7 @@ cmp_deeply($annotation_res, 'annotation_type' => 'phenotype', 'status' => 'new', 'qualifiers' => [], - 'curator' => 'Some Testperson ', + 'curator' => 'Some Testperson', 'with_or_from_identifier' => undef, 'needs_with' => undef, 'genotype_name' => 'SPCC63.05delta ssm4KE', @@ -942,7 +942,7 @@ cmp_deeply($annotation_res, 'annotation_type' => 'phenotype', 'extension' => [], 'status' => 'new', - 'curator' => 'Some Testperson ', + 'curator' => 'Some Testperson', 'with_or_from_identifier' => undef, 'qualifiers' => [], 'alleles' => [ @@ -1022,7 +1022,7 @@ cmp_deeply($annotation_res, 'feature_a_id' => 4, 'publication_uniquename' => 'PMID:19756689', 'annotation_type_display_name' => 'physical interaction', - 'curator' => 'Some Testperson ', + 'curator' => 'Some Testperson', 'feature_a_taxonid' => '4896', 'gene_taxonid' => '4896', 'feature_display_name' => 'SPCC63.05',