DASDAE / dascore

A python library for distributed fiber optic sensing
Other
72 stars 16 forks source link

fix #346 scan robust to corrput file #426

Closed d-chambers closed 3 weeks ago

d-chambers commented 3 weeks ago

Description

This PR makes dc.scan robust to corrupted files whose format is determinable but when they are scanned they HDF5 raises an OSError. See #346.

closes #346.

Checklist

I have (if applicable):

d-chambers commented 3 weeks ago

Hey @ahmadtourei,

It looks like the issue is back. I guess we need to disable the cache for macos.

ahmadtourei commented 3 weeks ago

Hey @ahmadtourei,

It looks like the issue is back. I guess we need to disable the cache for macos.

Ah I see. Yes, I agree.

codecov[bot] commented 3 weeks ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 99.84%. Comparing base (2e911d1) to head (250d875). Report is 1 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #426 +/- ## ======================================= Coverage 99.84% 99.84% ======================================= Files 112 112 Lines 9032 9037 +5 ======================================= + Hits 9018 9023 +5 Misses 14 14 ``` | [Flag](https://app.codecov.io/gh/DASDAE/dascore/pull/426/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=DASDAE) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/DASDAE/dascore/pull/426/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=DASDAE) | `99.84% <100.00%> (+<0.01%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=DASDAE#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.