Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
nomad-lab
parser-quasi-harmonic-properties
Commits
561201f8
Commit
561201f8
authored
Jan 25, 2017
by
Hagen-Henrik Kowalski
Browse files
added setup_paths
parent
05d96102
Changes
2
Hide whitespace changes
Inline
Side-by-side
parser/parser-quasi-harmonic-properties/qhp.py
View file @
561201f8
import
numpy
as
np
import
setup_paths
from
nomadcore.unit_conversion.unit_conversion
import
convert_unit_function
from
nomadcore.parser_backend
import
*
from
nomadcore.local_meta_info
import
loadJsonFile
,
InfoKindEl
...
...
parser/parser-quasi-harmonic-properties/setup_paths.py
0 → 100644
View file @
561201f8
import
sys
,
os
,
os
.
path
baseDir
=
os
.
path
.
dirname
(
os
.
path
.
abspath
(
__file__
))
commonDir
=
os
.
path
.
normpath
(
os
.
path
.
join
(
baseDir
,
"../../../../python-common/common/python"
))
if
not
commonDir
in
sys
.
path
:
sys
.
path
.
insert
(
0
,
commonDir
)
Write
Preview
Supports
Markdown
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!
Cancel
Please
register
or
sign in
to comment