Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
parser-elastic
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
nomad-lab
parser-elastic
Commits
e09a9521
There was a problem fetching the pipeline summary.
Commit
e09a9521
authored
7 years ago
by
Pardini, Lorenzo (lopa)
Browse files
Options
Downloads
Patches
Plain Diff
mistake... forgot to chage dir in previous
parent
92a5c8d4
No related branches found
No related tags found
No related merge requests found
Pipeline
#
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
parser/parser-elastic/parser_elastic.py
+3
-2
3 additions, 2 deletions
parser/parser-elastic/parser_elastic.py
with
3 additions
and
2 deletions
parser/parser-elastic/parser_elastic.py
+
3
−
2
View file @
e09a9521
...
...
@@ -62,11 +62,11 @@ class SampleContext(object):
backend
.
addArrayValues
(
'
configuration_periodic_dimensions
'
,
np
.
asarray
([
True
,
True
,
True
]))
self
.
SGN
=
int
(
section
[
"
x_elastic_space_group_number
"
][
0
])
mainFile
=
self
.
parser
.
fIn
.
fIn
.
name
dirPath
=
os
.
path
.
dirname
(
mainFile
)
#####exciting sbt -> zip file#### YES ?????????? sure???? check first OKOKOKKO
#
dirPath = os.path.dirname(mainFile) #####exciting sbt -> zip file#### YES ?????????? sure???? check first OKOKOKKO
self
.
mainFile
=
self
.
parser
.
fIn
.
name
#####exciting sbt -> zip file#### YES
self
.
mainFilePath
=
self
.
mainFile
[
0
:
-
12
]
#####exciting sbt -> zip file#### YES
# print("self.mainFileUri=",self.mainFileUri)
#
dirPath = self.mainFileUri[0:-12] #####exciting LOCAL HOME or from NOMAD URI nmd:// ####### YES OKOKOKOK
dirPath
=
self
.
mainFileUri
[
0
:
-
12
]
#####exciting LOCAL HOME or from NOMAD URI nmd:// ####### YES OKOKOKOK
# print("dirPath=",dirPath)
# for files in os.listdir(self.mainFilePath):
for
files
in
os
.
listdir
(
dirPath
):
...
...
@@ -326,6 +326,7 @@ class SampleContext(object):
# my_file = Path("Energy-vs-Strain")
# print("ooooo",my_file.exists())
# print("oooooooo ", os.listdir())
if
'
Energy-vs-Strain
'
in
os
.
listdir
():
# if my_file.is_dir():
# print("esiste! :-)")
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment