Commit 83ab35a9 authored by payno's avatar payno
Browse files

black style

parent c7fd53a2
Pipeline #37702 passed with stages
in 4 minutes and 2 seconds
......@@ -157,7 +157,7 @@ def main(argv):
parser.add_argument(
"--entries",
help="Specify (root) entries to be converted. By default it will try "
"to convert all existing entries.",
"to convert all existing entries.",
default=None,
)
parser.add_argument(
......@@ -177,74 +177,90 @@ def main(argv):
default=True,
)
parser.add_argument(
"--x_trans_keys", "--x-trans-keys",
"--x_trans_keys",
"--x-trans-keys",
default=",".join(H5_X_TRANS_KEYS),
help="x translation key in bliss HDF5 file",
)
parser.add_argument(
"--y_trans_keys", "--y-trans-keys",
"--y_trans_keys",
"--y-trans-keys",
default=",".join(H5_Y_TRANS_KEYS),
help="y translation key in bliss HDF5 file",
)
parser.add_argument(
"--z_trans_keys", "--z-trans-keys",
"--z_trans_keys",
"--z-trans-keys",
default=",".join(H5_Z_TRANS_KEYS),
help="z translation key in bliss HDF5 file",
)
parser.add_argument(
"--valid_camera_names", "--valid-camera-names",
"--valid_camera_names",
"--valid-camera-names",
default=None,
help="Valid NXDetector dataset name to be considered. Otherwise will"
"try to deduce them from NX_class attibute (value should be"
"NXdetector) or from instrument group child structure.",
)
parser.add_argument(
"--rot_angle_keys", "--rot-angle-keys",
"--rot_angle_keys",
"--rot-angle-keys",
default=",".join(H5_ROT_ANGLE_KEYS),
help="Valid dataset name for rotation angle",
)
parser.add_argument(
"--acq_expo_time_keys", "--acq-expo-time-keys",
"--acq_expo_time_keys",
"--acq-expo-time-keys",
default=",".join(H5_ACQ_EXPO_TIME_KEYS),
help="Valid dataset name for acquisition exposure time",
)
parser.add_argument(
"--x_pixel_size_key", "--x-pixel-size-key",
default=H5_X_PIXEL_SIZE, help="X pixel size key to read"
"--x_pixel_size_key",
"--x-pixel-size-key",
default=H5_X_PIXEL_SIZE,
help="X pixel size key to read",
)
parser.add_argument(
"--y_pixel_size_key", "--y-pixel-size-key",
default=H5_Y_PIXEL_SIZE, help="Y pixel size key to read"
"--y_pixel_size_key",
"--y-pixel-size-key",
default=H5_Y_PIXEL_SIZE,
help="Y pixel size key to read",
)
# scan titles
parser.add_argument(
"--init_titles", "--init-titles",
"--init_titles",
"--init-titles",
default=",".join(H5_INIT_TITLES),
help="Titles corresponding to init scans",
)
parser.add_argument(
"--init_zserie_titles", "--init-zserie-titles",
"--init_zserie_titles",
"--init-zserie-titles",
default=",".join(H5_ZSERIE_INIT_TITLES),
help="Titles corresponding to zserie init scans",
)
parser.add_argument(
"--dark_titles", "--dark-titles",
"--dark_titles",
"--dark-titles",
default=",".join(H5_DARK_TITLES),
help="Titles corresponding to dark scans",
)
parser.add_argument(
"--ref_titles", "--ref-titles",
"--ref_titles",
"--ref-titles",
default=",".join(H5_REF_TITLES),
help="Titles corresponding to ref scans",
)
parser.add_argument(
"--proj_titles", "--proj-titles",
"--proj_titles",
"--proj-titles",
default=",".join(H5_PROJ_TITLES),
help="Titles corresponding to projection scans",
)
parser.add_argument(
"--align_titles", "--align-titles",
"--align_titles",
"--align-titles",
default=",".join(H5_ALIGNMENT_TITLES),
help="Titles corresponding to alignment scans",
)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment