Skip to content

Commit

Permalink
remove old comments
Browse files Browse the repository at this point in the history
  • Loading branch information
shinzlet committed Dec 11, 2024
1 parent 5cf9c4b commit 2f84c94
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/czpeedy/trial_parameters.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,8 @@ def __init__(
self.shuffle = shuffle
self.endianness = endianness

# The name actually varies
# depending on the driver (i.e. zarr vs zarr3 vs N5...) and endianneess. Currently
# only supports zarr, but in the future we should support more.

# Returns a zarr v2 dtype string based on the numpy data type of this `TrialParameters`.
# Refernce: https://zarr-specs.readthedocs.io/en/latest/v2/v2.0.html#data-type-encoding
# TODO: This only supports uint16 right now!
def dtype_json_v2(self) -> Union[list, str]:
# Helper function to parse a regular (not structured) dtype into a zarr v2 dtype string.
def field_dtype(dtype: np.dtype) -> str:
Expand Down Expand Up @@ -99,7 +94,6 @@ def dtype_str(dtype: np.dtype) -> Union[str, list]:

return dtype_str(self.dtype)

# TODO: This only supports uint16 right now!
def dtype_json_v3(self) -> str:
if self.dtype.kind == 'V':
return f'r{self.dtype.itemsize * 8}'
Expand Down

0 comments on commit 2f84c94

Please sign in to comment.