We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Currently, the Adapter is implemented as a series of transforms.
Adapter
It would be nice if indexing or slicing the Adapter would yield another valid Adapter, in the form of:
adapter = bf.Adapter().rename("x", "y").rename("y", "z").rename("z", "y").rename("y", "x") rename_x_to_y = adapter[0] rename_x_to_z = adapter[0:2] assert isinstance(rename_x_to_y, bf.Adapter)
We could also allow assigning an adapter to a slice then, in the form of:
adapter = ... adapter[0:2] = bf.Adapter().rename("x", "z")
The text was updated successfully, but these errors were encountered:
eodole
No branches or pull requests
Currently, the
Adapter
is implemented as a series of transforms.It would be nice if indexing or slicing the
Adapter
would yield another validAdapter
, in the form of:We could also allow assigning an adapter to a slice then, in the form of:
The text was updated successfully, but these errors were encountered: