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
47791596
Commit
47791596
authored
5 years ago
by
Mikhail Karnevskiy
Browse files
Options
Downloads
Patches
Plain Diff
Check number of names
parent
98fb3e7b
No related branches found
No related tags found
1 merge request
!116
Feat: Optimace CalDB requests
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
cal_tools/cal_tools/ana_tools.py
+2
-1
2 additions, 1 deletion
cal_tools/cal_tools/ana_tools.py
with
2 additions
and
1 deletion
cal_tools/cal_tools/ana_tools.py
+
2
−
1
View file @
47791596
...
@@ -170,7 +170,8 @@ def combine_lists(*args, names=None):
...
@@ -170,7 +170,8 @@ def combine_lists(*args, names=None):
for
param
in
params
:
for
param
in
params
:
possible_params
=
[
x
+
[
y
]
for
x
in
possible_params
for
y
in
param
]
possible_params
=
[
x
+
[
y
]
for
x
in
possible_params
for
y
in
param
]
if
isinstance
(
names
,
list
)
and
len
(
names
)
==
len
(
args
):
if
isinstance
(
names
,
(
list
,
tuple
)):
assert
len
(
names
)
==
len
(
args
)
d_possible_params
=
[]
d_possible_params
=
[]
for
par
in
possible_params
:
for
par
in
possible_params
:
d_possible_params
.
append
(
dict
(
zip
(
names
,
par
)))
d_possible_params
.
append
(
dict
(
zip
(
names
,
par
)))
...
...
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