Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Scientific Software
MDANSE
Commits
8e054326
Commit
8e054326
authored
Aug 22, 2016
by
eric pellegrini
Browse files
Updated the Frmework.__init__ with the new path set for MDANSE macros directory
parent
eb4a6f25
Changes
1
Hide whitespace changes
Inline
Side-by-side
MDANSE/Framework/__init__.py
View file @
8e054326
import
os
from
MDANSE
import
PLATFORM
,
PREFERENCES
,
REGISTRY
from
MDANSE
import
PLATFORM
,
REGISTRY
directories
=
sorted
([
x
[
0
]
for
x
in
os
.
walk
(
os
.
path
.
dirname
(
__file__
))][
1
:])
macrosDir
=
P
REFERENCES
[
'
macros_directory
'
].
get_value
()
macrosDir
=
P
LATFORM
.
macros_directory
()
directories
.
insert
(
0
,
macrosDir
)
directories
.
extend
(
sorted
([
x
[
0
]
for
x
in
os
.
walk
(
macrosDir
)][
1
:]))
...
...
Write
Preview
Markdown
is supported
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