Utils
Utility functions for the CAREamics CLI.
handle_2D_3D_callback(value)
Callback for options that require 2D or 3D inputs.
In the case of 2D, the 3rd element should be set to -1.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
value
|
(int, int, int)
|
Tile size value. |
required |
Returns:
| Type | Description |
|---|---|
(int, int, int) | (int, int)
|
If the last element in |