Tags: dweth/atriumdb
Tags
Merged PR 225: fix bugs with cli and websockets -fix cli requests import bug by adding it to cli section of pyproject.toml -move qrcodet requirement from remote to cli part of pyproject.toml -fix url error with blocks endpoint by removing trailing slash -change the websocket connection to only happen once get_data_api is called not when the sdk object is created -fix small bug where if validate_token was false they sdk would error out because there is no expiry time
Merged PR 172: Give both device and patient information for all windo… …ws. And enforce windows not sharing two devices or two patients. This branch introduces a "device_patient_tuples" source type to the validated sources data structure for the iterator. It involves reading the device_patient table and looking for overlaps between it and the requested data from the definition. It also now brings that raw interval information into each batch request ensuring that get_data is only called within the regions that are mapped one-to-one with devices and patients. Areas where we have data but it would belong to a different patient within a window are replaced with NaN values.