Pierre Chanial
Pierre Chanial
Nice way to declare a command with a decorator. It looks odd though to have to pick up pprint from bento.utils.utils instead of bento.utils There are still a couple of...
Steps to reproduce: ```from gwpy.timeseries import TimeSeries ts = TimeSeries.read('H-H1_llhoft-1336320993-1.gwf', channel='H1:GDS-CALIB_STATE_VECTOR', start=1336320993.999024, end=1336320994) ``` Result: ```python ile ~/work/repos/gwpy/gwpy/timeseries/core.py:702, in TimeSeriesBase.from_lal(cls, lalts, copy) 699 warnings.warn("%s, defaulting to 'dimensionless'" % str(exc)) 700...
`pathlib` and `os.path` shouldn't be mixed, you could use `Path(path_or_module).expanduser()`. strange to use Path on a module though.
I haven't tried compound Literals, but that's something I could look at if @tiangolo is willing to add Literal handling on the roadmap.
I thought I could use autouse fixtures to do some setup and teardown, but since the teardown part is not garanteed to come after the teardown of non-autouse fixtures, it's...
I'd rather not use Protocols. What about being more explicit by removing `SupportsDType` which is not used except in DTypeLike and have something like that: ```python NumberType = Union[jnp.float32, jnp.int32]...