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
1ed72b68
Commit
1ed72b68
authored
1 year ago
by
Thomas Kluyver
Browse files
Options
Downloads
Patches
Plain Diff
Fix module DA names in tests
parent
7e94a027
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!885
Revised CalCat API
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/test_calcat_interface2.py
+1
-1
1 addition, 1 deletion
tests/test_calcat_interface2.py
with
1 addition
and
1 deletion
tests/test_calcat_interface2.py
+
1
−
1
View file @
1ed72b68
...
@@ -67,7 +67,7 @@ def test_DSSC_modules_missing():
...
@@ -67,7 +67,7 @@ def test_DSSC_modules_missing():
)
)
# DSSC was used with only 3 quadrants at this point
# DSSC was used with only 3 quadrants at this point
modnos
=
list
(
range
(
4
))
+
list
(
range
(
8
,
16
))
modnos
=
list
(
range
(
4
))
+
list
(
range
(
8
,
16
))
assert
dssc_cd
.
aggregator_names
==
[
'
DSSC{m:02}
'
for
m
in
modnos
]
assert
dssc_cd
.
aggregator_names
==
[
f
'
DSSC
{
m
:
02
}
'
for
m
in
modnos
]
assert
dssc_cd
.
module_nums
==
modnos
assert
dssc_cd
.
module_nums
==
modnos
assert
dssc_cd
.
qm_names
==
[
assert
dssc_cd
.
qm_names
==
[
f
"
Q
{
(
m
//
4
)
+
1
}
M
{
(
m
%
4
)
+
1
}
"
for
m
in
modnos
f
"
Q
{
(
m
//
4
)
+
1
}
M
{
(
m
%
4
)
+
1
}
"
for
m
in
modnos
...
...
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