Padraic Shafer

Results 21 issues of Padraic Shafer

Some housekeeping is needed to respond to multiple `DeprecationWarning`s that are raised during testing. * DeprecationWarning: on_event is deprecated, use lifespan event handlers instead. * Read more about it in...

As an example, when a `TiffAdapter` is created it holds a handle to an open TIFF file (via `tifffile.TiffFile`). After `__init__()` completes, that file handle is used by calls to...

I'm realizing that in addition to the right documentation already accompanying Tiled, we should distill the essentials into a short cheatsheet. Something like these: * [Conda](https://docs.conda.io/projects/conda/en/4.6.0/_downloads/52a95608c49671267e40c689e0bc00ca/conda-cheatsheet.pdf) * [PyCharm](https://resources.jetbrains.com/storage/products/pycharm/docs/PyCharm_ReferenceCard.pdf)

_disclaimer_: While this idea does not require any changes to Tiled modules, it reflects a proposed `Spec` that might be useful to include in the documented examples. --- Researchers generally...

documentation

Should `root_path` default to "/api" or "/api/v1"? I would have guessed the latter. https://github.com/bluesky/tiled/blob/a778e668bf5d12d80ee7145eb51d88486f6f88b2/tiled/server/router.py#L130

server

Structure families "awkward" and "sparse" are currently not included in `openapi_schemas.ts`. https://github.com/bluesky/tiled/blob/a778e668bf5d12d80ee7145eb51d88486f6f88b2/web-frontend/src/openapi_schemas.ts#L214-L219 Instructions have been included for regenerating this file. Would it make sense to include this in a GH...

## Background _From Issue #434_: Tiled's data model constrains everything to be one of its recognized structure families (array, dataframe, sparse, ~node~ container) or JSON-encodable metadata sitting alongside one of...

enhancement
client
server

See the discussion in https://github.com/bluesky/tiled/pull/560#issuecomment-1702776738 -- recapped here. We should add a test that covers the use of `serialization.xarray.serialize_netcdf()`. It might also resolve some ambiguity about how that coroutine should...

When `ignore_re_files` is passed as an argument to [`DirectoryAdapter.from_directory()`](https://github.com/bluesky/tiled/blob/main/tiled/adapters/files.py#L115), files matching the RegEx pattern are the only files that get served. From the name of the parameter and its documentation,...

This is not a test, and the function is not called anywhere. This dead code should probably be removed. Or could someone clarify what functionality is intended to be tested...