Skip to content
Snippets Groups Projects

Cli test

1 file
+ 13
5
Compare changes
  • Side-by-side
  • Inline
+ 13
5
@@ -89,11 +89,19 @@ def main():
image_preview(image, image_width = args.resolution, axis = args.axis, slice = args.slice, relative_intensity= args.absolute_values)
elif args.subcommand is None:
welcome_test = """--- Welcome to qim3d command-line interface ---
qim3d is a Python package for 3D image processing and visualization.
For more information, please visit
platform: https://platform.qim.dk/
"""
welcome_test = ("--- Welcome to qim3d command-line interface ---\n"
"qim3d is a Python package for 3D image processing and visualization.\n"
"For more information, please visit\n"
"qim platform: https://platform.qim.dk/\n"
f"Current version of qim3d: {qim3d.__version__}\n"
" \n"
"The qim3d command-line interface provides the following subcommands:\n"
"- gui: Graphical User Interfaces\n"
"- viz: Volumetric visualizations of volumes\n"
"- preview: Preview of an volume directly in the terminal\n"
" \n"
"For more information on each subcommand, type 'qim3d <subcommand> --help'.\n"
)
print(welcome_test)
print('--- Help page for qim3d command-line interface shown below ---\n')
parser.print_help()
Loading