Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
ensembl
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ensembl-gh-mirror
ensembl
Commits
4649ac7f
Commit
4649ac7f
authored
10 years ago
by
Kieron Taylor
Browse files
Options
Downloads
Patches
Plain Diff
Fix dodgy juettemann code, remove needless dependency on Regulation.
parent
4778200f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/Bio/EnsEMBL/DBSQL/UnmappedObjectAdaptor.pm
+6
-5
6 additions, 5 deletions
modules/Bio/EnsEMBL/DBSQL/UnmappedObjectAdaptor.pm
with
6 additions
and
5 deletions
modules/Bio/EnsEMBL/DBSQL/UnmappedObjectAdaptor.pm
+
6
−
5
View file @
4649ac7f
...
...
@@ -55,7 +55,6 @@ use strict;
use
POSIX
;
use
Bio::EnsEMBL::Utils::
Cache
;
use
Bio::EnsEMBL::Utils::
Exception
qw(throw warning)
;
use
Bio::EnsEMBL::Funcgen::Utils::
EFGUtils
qw(dump_data)
;
use
Bio::EnsEMBL::DBSQL::
BaseFeatureAdaptor
;
use
Bio::EnsEMBL::
UnmappedObject
;
use
Bio::EnsEMBL::
Analysis
;
...
...
@@ -318,13 +317,15 @@ sub store{
if
(
!
eval
{
$sth_reason
->
execute
();
1
}){
# DBI Trace possible here?
warn
$@
;
warn
ing
(
$@
);
#
my
$msg
;
$msg
.=
"
INSERT INTO unmapped_reason (summary_description, full_description) VALUES (
";
$msg
.=
$uo
->
{'
summary
'}
.
'
,
'
.
$uo
->
{'
description
'}
.
'
)
';
warn
("
Qeury:
\n
$msg
");
# Temporary fix for naughty cross-dependency regulation code.
use
Data::
Dumper
;
warning
("
Query:
\n
$msg
");
print
STDERR
"
UnmappedObject:
\n
";
print
STDERR
d
ump
_data
(
$uo
,
1
,
1
);
print
STDERR
D
ump
er
$uo
;
$sth_fetch_reason
->
execute
(
$uo
->
{'
description
'});
...
...
@@ -357,7 +358,7 @@ sub store{
$sth_unmapped_object
->
bind_param
(
8
,
$uo
->
{'
ensembl_id
'},
SQL_INTEGER
);
$sth_unmapped_object
->
bind_param
(
9
,
$uo
->
{'
ensembl_object_type
'},
SQL_VARCHAR
);
$sth_unmapped_object
->
execute
();
$uo
->
dbID
(
$self
->
last_insert_id
('
unm
p
apped_object_id
',
undef
,
'
unmapped_object
'));
$uo
->
dbID
(
$self
->
last_insert_id
('
unmapped_object_id
',
undef
,
'
unmapped_object
'));
}
$sth_reason
->
finish
();
return
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment