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

Hsds examples #38

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
style: fix arguments order
kerberizer committed Nov 23, 2022
commit e6fcd22799b33f97b7ca2fffe5dcf45c418e5b7b
2 changes: 1 addition & 1 deletion src/ramanchada2/io/HSDS.py
Original file line number Diff line number Diff line change
@@ -48,7 +48,7 @@ def filter_dataset(topdomain, domain, process_file, sample=None, wavelength=None
_h5 = h5module or h5py
with _h5.File(domain) as dataset:
if (sample is not None) and (dataset["annotation_sample"].attrs["sample"] == sample):
process_file(topdomain, domain, **kwargs,h5module)
process_file(topdomain, domain, h5module, **kwargs)


def visit_domain(topdomain="/", process_dataset=None, kwargs={}, h5module=None):