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
92a5c8d4
There was a problem fetching the pipeline summary.
Commit
92a5c8d4
authored
7 years ago
by
Pardini, Lorenzo (lopa)
Browse files
Options
Downloads
Patches
Plain Diff
fixed small bug with lib
parent
18c54b34
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Pipeline
#
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
parser/parser-elastic/parser_elastic.py
+4
-3
4 additions, 3 deletions
parser/parser-elastic/parser_elastic.py
with
4 additions
and
3 deletions
parser/parser-elastic/parser_elastic.py
+
4
−
3
View file @
92a5c8d4
...
...
@@ -22,7 +22,7 @@ from nomadcore.simple_parser import mainFunction
from
nomadcore.simple_parser
import
SimpleMatcher
as
SM
from
nomadcore.local_meta_info
import
loadJsonFile
,
InfoKindEl
import
os
,
sys
,
json
,
elastic_parser_input_exciting
,
elastic_parser_input_wien2k
from
pathlib
import
Path
#
from pathlib import Path
class
SampleContext
(
object
):
...
...
@@ -324,9 +324,10 @@ class SampleContext(object):
# backend.addValue("x_elastic_energy_strain_energy_values", energy)
# backend.closeSection("x_elastic_section_single_configuration_calculation", elasticGIndex)
my_file
=
Path
(
"
Energy-vs-Strain
"
)
#
my_file = Path("Energy-vs-Strain")
# print("ooooo",my_file.exists())
if
my_file
.
is_dir
():
if
'
Energy-vs-Strain
'
in
os
.
listdir
():
# if my_file.is_dir():
# print("esiste! :-)")
# else:
# print("non 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