Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tomotools
nxtomomill
Commits
bb6f92fc
Unverified
Commit
bb6f92fc
authored
Dec 02, 2021
by
Henri Payno
Browse files
h52nx: if valid_camera_names is None then consider the given camera as valid
parent
3b2352e0
Pipeline
#60930
failed with stages
in 1 second
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
nxtomomill/converter/hdf5/acquisition/standardacquisition.py
View file @
bb6f92fc
...
...
@@ -417,6 +417,8 @@ class StandardAcquisition(BaseAcquisition):
def
camera_is_valid
(
self
,
det_name
):
assert
isinstance
(
det_name
,
str
)
if
self
.
configuration
.
valid_camera_names
is
None
:
return
True
for
vcm
in
self
.
configuration
.
valid_camera_names
:
if
fnmatch
.
fnmatch
(
det_name
,
vcm
):
return
True
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment