Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot convert to formats other than n5. eg. .tiff, .png, .jpg #17

Closed
noorul-wahab opened this issue May 9, 2020 · 0 comments
Closed

Comments

@noorul-wahab
Copy link

While converting an Isyntax file to raw tiff file using the command below gerenrated 'No such file or directory' error.
Command:
isyntax2raw write_tiles --file_type='tiff' input.isyntax outdir
Error:
FileNotFoundError: [Errno 2] No such file or directory: '...path_to_directory/1/0'

Traceback (most recent call last):
File "/usr/local/bin/isyntax2raw", line 8, in
sys.exit(main())
File "/usr/local/lib/python3.6/dist-packages/isyntax2raw/cli/isyntax2raw.py", line 79, in main
cli()
File "/usr/local/lib/python3.6/dist-packages/Click-7.0-py3.6.egg/click/core.py", line 764, in call
return self.main(*args, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/Click-7.0-py3.6.egg/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python3.6/dist-packages/Click-7.0-py3.6.egg/click/core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python3.6/dist-packages/Click-7.0-py3.6.egg/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python3.6/dist-packages/Click-7.0-py3.6.egg/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/isyntax2raw/cli/isyntax2raw.py", line 70, in write_tiles
wt.write_label_image()
File "/usr/local/lib/python3.6/dist-packages/isyntax2raw/init.py", line 272, in write_label_image
self.write_image_type("LABELIMAGE", 1)
File "/usr/local/lib/python3.6/dist-packages/isyntax2raw/init.py", line 297, in write_image_type
self.create_tile_directory(series, 0, width, height)
File "/usr/local/lib/python3.6/dist-packages/isyntax2raw/init.py", line 330, in create_tile_directory
os.mkdir(tile_directory)

chris-allan added a commit to chris-allan/isyntax2raw that referenced this issue May 19, 2020
)

None of the downstream infrastructure supports non-N5/Zarr layouts
anymore.  Much of the underlying code in this package has also moved to
the N5/Zarr style.  Since we will not be maintaining, or testing, the
non-N5/Zarr layouts going forward it is safest to remove them.
chris-allan added a commit that referenced this issue Jun 12, 2020
Remove non-N5/Zarr unsupported, broken layouts (Fixes #17)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant