From a5f401720d0d596678547cbe15d720e438c3d917 Mon Sep 17 00:00:00 2001
From: Glenn Proctor <gp1@sanger.ac.uk>
Date: Fri, 16 Nov 2007 14:00:53 +0000
Subject: [PATCH] Syntax fix to cleanup script.

---
 misc-scripts/xref_projection/project_display_xrefs.pl | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/misc-scripts/xref_projection/project_display_xrefs.pl b/misc-scripts/xref_projection/project_display_xrefs.pl
index 75adddc7f9..ff7a5ffb49 100644
--- a/misc-scripts/xref_projection/project_display_xrefs.pl
+++ b/misc-scripts/xref_projection/project_display_xrefs.pl
@@ -203,7 +203,7 @@ foreach my $to_species (@to_multi) {
 
   }
 
-  print "Cleaning up ...";
+  print "\nCleaning up ...";
   clean_up($to_ga->dbc());
 
   print "\n$to_species, after projection: \n";
@@ -719,7 +719,7 @@ sub clean_up {
 
   $to_dbc->do("CREATE TABLE tmp_gx SELECT gx.object_xref_id FROM go_xref gx LEFT JOIN object_xref ox ON ox.object_xref_id=gx.object_xref_id WHERE ox.object_xref_id IS NULL");
 
-  $to_dbc->do("DELETE FROM go_xref WHERE object_xref_id IN (SELECT object_xref_id FROM tmp_gx");
+  $to_dbc->do("DELETE FROM go_xref WHERE object_xref_id IN (SELECT object_xref_id FROM tmp_gx)");
 
   $to_dbc->do("DROP TABLE tmp_gx");
 
-- 
GitLab