FAQ
| This is a
LIVE
service |
Changelog
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
phasecalculator
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Yusuf Hamied Department of Chemistry
Hunter Group
SSIPtools
SSIMPLEapps
phasecalculator
Commits
fb81c8e5
Commit
fb81c8e5
authored
4 years ago
by
Mark Driver
Browse files
Options
Downloads
Patches
Plain Diff
update to fix bugs in VLE output bool reading and create output dir for VLE runner.
parent
6c202271
No related branches found
No related tags found
No related merge requests found
Pipeline
#27007
failed
4 years ago
Stage: test
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
phasecalculator/classes/outputinformation.py
+2
-1
2 additions, 1 deletion
phasecalculator/classes/outputinformation.py
phasecalculator/runners/phasecalculatorrunner.py
+1
-0
1 addition, 0 deletions
phasecalculator/runners/phasecalculatorrunner.py
with
3 additions
and
1 deletion
phasecalculator/classes/outputinformation.py
+
2
−
1
View file @
fb81c8e5
...
...
@@ -179,10 +179,11 @@ class OutputInformation(object):
VLE output option.
"""
xpath_expression
=
"
phasecalc:
FGIP
Output/text()
"
xpath_expression
=
"
phasecalc:
VLE
Output/text()
"
vle_output
=
output_xml
.
xpath
(
xpath_expression
,
namespaces
=
PHASE_CALC_NAMESPACE_DICT
)[
0
]
LOGGER
.
debug
(
"
VLE output: %s
"
,
vle_output
)
return
True
if
vle_output
==
"
true
"
else
False
def
write_to_xml
(
self
):
...
...
This diff is collapsed.
Click to expand it.
phasecalculator/runners/phasecalculatorrunner.py
+
1
−
0
View file @
fb81c8e5
...
...
@@ -191,6 +191,7 @@ def run_vle_analysis(system_info, phase_filename, **kwargs):
phase_output_filename
=
create_phase_output_filename
(
phase_filename
)
csv_filename
=
create_phase_summary_filename
(
system_info
.
runtime_information
.
output_dir
,
phase_filename
)
create_output_dir
(
system_info
)
vlerun
.
calculate_and_process_vle_data
(
jar_path
,
phase_filename
,
phase_output_filename
,
csv_filename
,
**
kwargs
...
...
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