Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Vasudevan, Rama K
pycroscopy
Commits
3981bf70
Commit
3981bf70
authored
Jun 24, 2020
by
ssomnath
Browse files
Moved up snippet on printing parameters
parent
6ebaaed0
Changes
1
Hide whitespace changes
Inline
Side-by-side
pycroscopy/io/translators/be_odf.py
View file @
3981bf70
...
...
@@ -161,8 +161,15 @@ class BEodfTranslator(Translator):
isBEPS
=
True
else
:
raise
IOError
(
'No parameters file found! Cannot translate this dataset!'
)
if
verbose
:
print
(
'
\t
isBEPS = {}'
.
format
(
isBEPS
))
keys
=
list
(
parm_dict
.
keys
())
keys
.
sort
()
print
(
'
\t
:Experiment parameters:'
)
for
key
in
keys
:
print
(
'
\t\t
{} : {}'
.
format
(
key
,
parm_dict
[
key
]))
print
(
'
\n\t
isBEPS = {}'
.
format
(
isBEPS
))
ignored_plt_grps
=
[]
if
isBEPS
:
...
...
@@ -424,10 +431,6 @@ class BEodfTranslator(Translator):
# Write attributes at the measurement group level
if
verbose
:
print
(
'
\t
writing attributes to Measurement group'
)
keys
=
list
(
parm_dict
.
keys
())
keys
.
sort
()
for
key
in
keys
:
print
(
'
\t\t
{} : {}'
.
format
(
key
,
parm_dict
[
key
]))
write_simple_attrs
(
h5_meas_group
,
parm_dict
)
# Create the Channel group
...
...
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