int-brain-lab / iblalyx

MIT License
0 stars 0 forks source link

AlyxDjango class #87

Closed k1o0 closed 2 weeks ago

k1o0 commented 3 weeks ago

A class for short-circuiting the AlyxClient REST queries within the Alyx Django env. This is useful when we're running IBL code that uses ONE on SDSC. I kept the behaviour as close as possible to the AlyxClient Web queries, so this code goes through the Django serializes and ONE client-side deserialization. Should behave 100% the same as the normal client and supports all REST methods.