Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
pycalibration
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
calibration
pycalibration
Commits
e63f7702
Commit
e63f7702
authored
1 year ago
by
Karim Ahmed
Browse files
Options
Downloads
Patches
Plain Diff
add requires_gpfs
parent
a51a720a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!958
[Gotthard2][Dark] Sort dark runs
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/test_gotthard2lib.py
+2
-0
2 additions, 0 deletions
tests/test_gotthard2lib.py
with
2 additions
and
0 deletions
tests/test_gotthard2lib.py
+
2
−
0
View file @
e63f7702
...
@@ -3,6 +3,7 @@ import pytest
...
@@ -3,6 +3,7 @@ import pytest
from
cal_tools.gotthard2.gotthard2lib
import
sort_dark_runs_by_gain
from
cal_tools.gotthard2.gotthard2lib
import
sort_dark_runs_by_gain
@pytest.mark.requires_gpfs
def
test_sort_dark_runs_by_gain
():
def
test_sort_dark_runs_by_gain
():
# TODO: update used raw data to test data when available.
# TODO: update used raw data to test data when available.
raw_folder
=
"
/gpfs/exfel/exp/FXE/202231/p900298/raw
"
raw_folder
=
"
/gpfs/exfel/exp/FXE/202231/p900298/raw
"
...
@@ -12,6 +13,7 @@ def test_sort_dark_runs_by_gain():
...
@@ -12,6 +13,7 @@ def test_sort_dark_runs_by_gain():
assert
sorted_runs
==
[
7
,
8
,
9
]
assert
sorted_runs
==
[
7
,
8
,
9
]
@pytest.mark.requires_gpfs
def
test_raise_sort_dark_runs_by_gain
():
def
test_raise_sort_dark_runs_by_gain
():
# TODO: update used raw data to test data when available.
# TODO: update used raw data to test data when available.
raw_folder
=
"
/gpfs/exfel/exp/SA1/202331/p900384/raw
"
raw_folder
=
"
/gpfs/exfel/exp/SA1/202331/p900384/raw
"
...
...
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