Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Emmanuel QUEVILLON
BIGSdb
Commits
5f8e0c10
Commit
5f8e0c10
authored
Jun 07, 2016
by
Keith Jolley
Browse files
Version 1.14.1.
parent
406eb35b
Changes
3
Hide whitespace changes
Inline
Side-by-side
bigsdb.pl
View file @
5f8e0c10
...
...
@@ -21,7 +21,7 @@
package
BIGSdb::
main
;
use
strict
;
use
warnings
;
use
version
;
our
$VERSION
=
qv
('
v1.14.
0
');
use
version
;
our
$VERSION
=
qv
('
v1.14.
1
');
use
5.010
;
###########Local configuration################################
...
...
lib/BIGSdb/Datastore.pm
View file @
5f8e0c10
...
...
@@ -943,6 +943,9 @@ sub create_temp_scheme_table {
}
push
@table_fields
,
'
profile text[]
';
my
$locus_indices
=
$scheme
->
get_locus_indices
;
use
Data::
Dumper
;
$logger
->
error
(
Dumper
$locus_indices
);
eval
{
$self
->
{'
db
'}
->
do
(
'
DELETE FROM scheme_warehouse_indices WHERE scheme_id=?
',
undef
,
$id
);
foreach
my
$profile_locus
(
keys
%$locus_indices
)
{
...
...
lib/BIGSdb/Scheme.pm
View file @
5f8e0c10
...
...
@@ -38,6 +38,7 @@ sub _initiate {
my
$sql
=
$self
->
{'
db
'}
->
prepare
('
SELECT locus,index FROM scheme_warehouse_indices WHERE scheme_id=?
');
if
(
$self
->
{'
dbase_table
'}
=~
/scheme_(\d+)$/x
)
{
my
$scheme_id
=
$
1
;
$logger
->
error
(
$scheme_id
);
eval
{
$sql
->
execute
(
$scheme_id
);
};
$logger
->
error
(
$@
)
if
$@
;
my
$data
=
$sql
->
fetchall_arrayref
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment