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
cigale
CIGALE
Commits
f6f1d85c
Commit
f6f1d85c
authored
Jan 26, 2016
by
Médéric Boquien
Browse files
Remove unused function.
parent
13e8fe35
Changes
1
Hide whitespace changes
Inline
Side-by-side
pcigale/session/configuration.py
View file @
f6f1d85c
...
...
@@ -25,26 +25,6 @@ from ..warehouse import SedWarehouse
REDSHIFT_DECIMALS
=
2
def
list_modules
(
package_name
):
"""Lists the modules available in a package
Parameters
----------
package_name: string
Name of the package (e.g. pcigale.creation_modules).
Returns
-------
module_name: array of strings
List of the available modules.
"""
directory
=
pkg_resources
.
resource_filename
(
package_name
,
''
)
module_names
=
[
name
for
_
,
name
,
_
in
pkgutil
.
iter_modules
([
directory
])]
return
module_names
def
evaluate_description
(
description
):
"""Evaluate a description from the config file as a list.
...
...
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