Bug: Viatom data reappearing in OSCAR after deleting oximetry data - Printable Version +- Apnea Board Forum - CPAP | Sleep Apnea (https://www.apneaboard.com/forums) +-- Forum: Public Area (https://www.apneaboard.com/forums/Forum-Public-Area) +--- Forum: Software Support Forum (https://www.apneaboard.com/forums/Forum-Software-Support-Forum) +--- Thread: Bug: Viatom data reappearing in OSCAR after deleting oximetry data (/Thread-Bug-Viatom-data-reappearing-in-OSCAR-after-deleting-oximetry-data) |
Bug: Viatom data reappearing in OSCAR after deleting oximetry data - Ratchick - 04-18-2021 Hi there. This is a bit of complex one but I think I've tracked down the issue. Since I've figured out (thank you Crimson Nape!) how to tweak the oximetry time/date in the Viatom binary files, I've discovered that if you delete the oximetry data for the day, there are times when the OLD files will reappear - not just for THAT day but EVERY day where you have deleted a file for any reason. After much fiddling around, I have a workaround (for now) but the bug seems to happen when you import more than one data file at once. I think perhaps it's keeping a cached copy (or path) of the binary somewhere and reimporting ALL the missing files somehow? The trouble is that the original files need to stay in the viatom folder so that they can be read into the Viatom software, and I can't upload them from another folder, or I don't get the correct device info/serial number (which as OSCAR can't display 2 different devices of the same type on the same day means that you can only see one or the other, but not both). Either that or it's not actually deleting the data, it's just hiding it, and something is resetting the display option to show it again. How to replicate:
Once the data is deleted, it shouldn't reappear when further data is uploaded. Workarounds:
RE: Bug: Viatom data reappearing in OSCAR after deleting oximetry data - kappa - 04-18-2021 The current OSCAR Viatom code will import every file in the directory when you select more than one file to import on Windows (i.e. the file selection is ignored). On Linux you can only select a single file and on MacOS you can select a single file or directory (and if you select a directory it will import the entire contents of that directory). This is clearly confusing behavior and I'm hoping we'll agree to change this to allow multi-file import and only import the files selected (which is what I've done for the Somnopose loader in the next version and hope to extend to the other non-CPAP file loaders). RE: Bug: Viatom data reappearing in OSCAR after deleting oximetry data - Ratchick - 04-19-2021 Ahhh Wow ok thank you for clarifying. I was going CRAZY trying to figure out what was going on. Thanks for the clarification. Easier workaround then - temporarily move the other files out. LOL Thanks for letting me know, and yes, hopefully, that will change in future. |