Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor fixup #51

Merged
merged 4 commits into from
May 18, 2022
Merged

Refactor fixup #51

merged 4 commits into from
May 18, 2022

Conversation

shenker
Copy link
Contributor

@shenker shenker commented May 18, 2022

Fixes #50

  • Renamed fixup kwarg to validate_frames in _chunkmap.read_new_chunkmap.
  • Set validate_frames to default to False.
  • Renamed bad/fixed/safe to bad/fixed/good in read_chunkmap.
  • Add validate_frames and search_window kwargs to ND2File.init to pass through to _util.get_reader -> _sdk/latest.ND2Reader.init -> _chunkmap.read_new_chunkmap.

@tlambert03 I'm running into horrible library path issues (probably related to #24) so I can't test this myself currently... I'm trying to fix things, will probably open another issue later today.

shenker and others added 4 commits May 18, 2022 14:31
…able amount of time.

* Renamed fixup kwarg to validate_frames in _chunkmap.read_new_chunkmap.
* Set validate_frames to default to False.
* Renamed bad/fixed/safe to bad/fixed/good in read_chunkmap.
* Add validate_frames and search_window kwargs to ND2File.__init__ to pass through to _util.get_reader -> _sdk/latest.ND2Reader.__init__ -> _chunkmap.read_new_chunkmap.
@tlambert03
Copy link
Owner

Thanks! I pushed some slight fixes directly to your branch (where the keyword "safe" was still being used)

@tlambert03
Copy link
Owner

@tlambert03 I'm running into horrible library path issues

can you tell me how you set up the environment? (I think you're one of the first to try)... we can dig into this in another issue though

@tlambert03
Copy link
Owner

all green! thanks a lot @shenker!

@tlambert03 tlambert03 merged commit cbc3bef into tlambert03:main May 18, 2022
@shenker shenker deleted the fixup_kwarg branch May 18, 2022 20:52
@tlambert03 tlambert03 mentioned this pull request Jun 23, 2022
@tlambert03 tlambert03 added the bug Something isn't working label Jun 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Slow creation of ND2File object from large ND2 files
2 participants