catalystneuro / roiextractors

Python-based module for extracting from, converting between, and handling optical imaging data from several file formats. Inspired by SpikeInterface.
https://roiextractors.readthedocs.io/en/latest/index.html
BSD 3-Clause "New" or "Revised" License
12 stars 7 forks source link

Make external dependencies imported lazy #198

Closed CodyCBakerPhD closed 2 years ago

CodyCBakerPhD commented 2 years ago

In the spirit of https://github.com/catalystneuro/neuroconv/pull/74, this is all that would be required here to take advantage of fully lazy imports of external dependencies for all OphysInterfaces on NeuroConv.

codecov[bot] commented 2 years ago

Codecov Report

Merging #198 (a6f24f1) into master (e4fdb9a) will increase coverage by 0.09%. The diff coverage is 86.20%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #198      +/-   ##
==========================================
+ Coverage   72.64%   72.74%   +0.09%     
==========================================
  Files          33       33              
  Lines        2219     2227       +8     
==========================================
+ Hits         1612     1620       +8     
  Misses        607      607              
Flag Coverage Δ
unittests 72.74% <86.20%> (+0.09%) :arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/roiextractors/extraction_tools.py 62.59% <76.47%> (+0.83%) :arrow_up:
...imagingextractors/scanimagetiffimagingextractor.py 98.27% <100.00%> (+3.27%) :arrow_up:
...tors/tiffimagingextractors/tiffimagingextractor.py 75.71% <100.00%> (+0.71%) :arrow_up: