You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In AnnData, / is frequently used in key names. This leads to subdirectories in Zarr. In HDF5 it appears to be disallowed:
A path name is a string of components separated by '/'. Each component is the name of a (hard or soft) link, or the special characters "." (meaning current group). Link names (components) can be any string of ASCII characters not containing '/' (except the string ".", which is reserved). However, users are advised to avoid the use of punctuation and non-printing characters, because they may create problems for other software. Figure 39 gives a BNF grammar for HDF5 path names.
The case where it comes up most commonly is in user provided column names in dataframes, e.g. "CD4+/CD8-". Our dataframe spec/ implementation conveniently (?) works around this by storing the names of columns as an attribute, so things end up working as expected in many cases. E.g. df_group["CD4+/CD8-"] returns the right data. Would definitely prefer if this didn't just work by implementation detail.
In AnnData,
/
is frequently used in key names. This leads to subdirectories in Zarr. In HDF5 it appears to be disallowed:(via stackoveflow)
/
be added?cc: @ivirshup
The text was updated successfully, but these errors were encountered: