Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
nxtomo
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository 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
tomotools
nxtomo
Merge requests
!58
NXtomo: downgrqde some 'info' log to debug.
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
NXtomo: downgrqde some 'info' log to debug.
update_logs
into
1.3
Overview
0
Commits
1
Pipelines
1
Changes
1
Merged
payno
requested to merge
update_logs
into
1.3
4 weeks ago
Overview
0
Commits
1
Pipelines
1
Changes
1
Expand
0
0
Merge request reports
Compare
1.3
1.3 (base)
and
latest version
latest version
51944396
1 commit,
4 weeks ago
1 file
+
3
−
3
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
nxtomo/application/nxtomo.py
+
3
−
3
Options
@@ -768,12 +768,12 @@ class NXtomo(NXobject):
def
node_is_nxtomo
(
node
:
h5py
.
Group
)
->
bool
:
"""
check if the given h5py node is an nxtomo node or not
"""
if
"
NX_class
"
in
node
.
attrs
or
"
NXclass
"
in
node
.
attrs
:
_logger
.
info
(
f
"
{
node
.
name
}
is recognized as a nx class.
"
)
_logger
.
debug
(
f
"
{
node
.
name
}
is recognized as a nx class.
"
)
else
:
_logger
.
info
(
f
"
{
node
.
name
}
isn
'
t recognized as a nx class.
"
)
_logger
.
debug
(
f
"
{
node
.
name
}
isn
'
t recognized as a nx class.
"
)
return
False
if
"
definition
"
in
node
.
attrs
and
node
.
attrs
[
"
definition
"
].
lower
()
==
"
nxtomo
"
:
_logger
.
info
(
f
"
{
node
.
name
}
is recognized as an NXtomo class.
"
)
_logger
.
debug
(
f
"
{
node
.
name
}
is recognized as an NXtomo class.
"
)
return
True
elif
(
"
instrument
"
in
node
Loading