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
bob
bob.bio.base
Commits
b4ec1694
Commit
b4ec1694
authored
Jun 08, 2016
by
Tiago de Freitas Pereira
Browse files
Merge pull request #24 from tiagofrepereira2012/master
Fixed issue
#23
'Test bob.bio.base.test.test_scripts.test_resources f…
parents
537f20b9
aec9a39d
Changes
1
Hide whitespace changes
Inline
Side-by-side
bob/bio/base/utils/resources.py
View file @
b4ec1694
...
...
@@ -224,7 +224,7 @@ def database_directories(strip=['dummy'], replacements = None, package_prefix='b
entry_points
=
_get_entry_points
(
'database'
,
strip
,
package_prefix
=
package_prefix
)
dirs
=
{}
for
entry_point
in
sorted
(
entry_points
):
for
entry_point
in
sorted
(
entry_points
,
key
=
lambda
entry_point
:
entry_point
.
name
):
try
:
db
=
load_resource
(
entry_point
.
name
,
'database'
)
db
.
replace_directories
(
replacements
)
...
...
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