Skip to content
Snippets Groups Projects
Commit 537bf49e authored by epaule's avatar epaule
Browse files

the BaseParser expects error_codes and no fatal errors to work around checking...

the BaseParser expects error_codes and no fatal errors to work around checking for existence of xrefs,
so I turned them off again
parent 0ce0ebf5
No related branches found
No related tags found
No related merge requests found
......@@ -436,8 +436,8 @@ sub upload_xref_object_graphs {
# disable error handling here as we'll do it ourselves
# reenabled it, as errorcodes are really unhelpful
$xref_sth->{RaiseError} = 1;
$xref_sth->{PrintError} = 1;
$xref_sth->{RaiseError} = 0;
$xref_sth->{PrintError} = 0;
#################################################################################
# End of sql needed to add xrefs, primary_xrefs, synonym, dependent_xrefs etc..
......@@ -536,6 +536,7 @@ sub upload_xref_object_graphs {
#################
# Insert the xref
#################
# print "inserting $dep{ACCESSION},$dep{VERSION},$dep{LABEL},$dep{DESCRIPTION},$dep{SOURCE_ID},${\$xref->{SPECIES_ID}}\n";
$xref_sth->execute($dep{ACCESSION},
$dep{VERSION} || 0,
$dep{LABEL} || $dep{ACCESSION},
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment