Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ixstools
xrstools
Commits
ab70c930
Commit
ab70c930
authored
Nov 08, 2020
by
myron
Browse files
Added xes to CDI
parent
dc3e5ec1
Changes
2
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
ab70c930
...
...
@@ -30,12 +30,12 @@ test:
-
pip install .
script
:
-
cd nonregressions/xrs_raman
-
cd nonregressions/xes
-
python xes_analysis.py
-
cd ../xrs_raman
-
/usr/bin/xvfb-run --server-args="-screen 0 1024x768x24" -a python non_reg_testing_XRS.py
-
/usr/bin/xvfb-run --server-args="-screen 0 1024x768x24" -a python non_reg_testing_XRS_small.py
-
/usr/bin/xvfb-run --server-args="-screen 0 1024x768x24" -a python non_reg_testing_XRS_raman_extraction.py
-
cd ../xes
-
python xes_analysis.py
-
deactivate
after_script
:
-
pwd
...
...
nonregressions/xes/xes_analysis.py
View file @
ab70c930
...
...
@@ -6,7 +6,9 @@ import numpy as np
import
XRStools.
XES_spectra_extraction
as
spectra_extraction
if
(
1
):
os
.
system
(
"xs -d --keep preparation_run4_16/ROI.xz ; mv preparation_run4_16/ROI preparation_run4_16/roi.h5"
)
os
.
system
(
"xz -d --keep preparation_run4_16/ROI.xz ; mv preparation_run4_16/ROI preparation_run4_16/roi.h5"
)
os
.
system
(
"xz -d --keep preparation_run4_16/roi_sample.h5.xz"
)
spectra_extraction
.
prepare
(
...
...
Write
Preview
Supports
Markdown
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