FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects

Function to return output file name

Merged Eduardo Gonzalez Solares requested to merge dev into main
2 files
+ 22
22
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 10
9
@@ -18,16 +18,17 @@ _credits__ = [
def imc2zarr(input_path: Path, output_path: Path):
try:
imc2zarr_converter = Imc2Zarr(input_path, output_path)
imc2zarr_converter.convert()
except Exception as err:
print('Error: {}'.format(str(err)))
print('Details: {}'.format(traceback.format_exc()))
imc2zarr_converter = Imc2Zarr(input_path, output_path)
imc2zarr_converter.convert()
return imc2zarr_converter.output_fn
@click.command()
@click.argument('input_path')
@click.argument('output_path')
@click.argument("input_path")
@click.argument("output_path")
def main(input_path, output_path):
imc2zarr(input_path, output_path)
try:
imc2zarr(input_path, output_path)
except Exception as err:
print("Error: {}".format(str(err)))
print("Details: {}".format(traceback.format_exc()))
Loading