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

New visitor implementation #75

Merged
merged 3 commits into from
Aug 28, 2019
Merged

New visitor implementation #75

merged 3 commits into from
Aug 28, 2019

Conversation

graeme-winter
Copy link
Collaborator

To fix #74 - NXgroup.visititems()
does not follow soft links but probably it should, certainly this is a known
issue on the h5py lists. Added new implementation local_visit which behaves
as expected. Also found that saturation_value missing so worked around. Following up with SLS on that one.

To fix #74 - NXgroup.visititems()
does not follow soft links but probably it should, certainly this is a known
issue on the h5py lists. Added new implementation local_visit which behaves
as expected. Also found that saturation_value missing so worked around.
format/nexus.py Outdated
@@ -150,6 +150,18 @@ def __call__(self, dset):
)


def local_visit(nxfile, visitor):
"""

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could this be made a google-style docstring (as recommended by the DIALS contributing guide)

Write docstrings. We have a mix of styles at the moment, but new docstrings should try to follow Google-style - it has a good balance between clarity and length.

Copy link

@jmp1985 jmp1985 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like a good change

@rjgildea
Copy link

Probably a good idea to add a towncrier newsfragment for this (I guess this is a "bug").

@graeme-winter graeme-winter merged commit 5edb089 into master Aug 28, 2019
@graeme-winter graeme-winter deleted the nx-visitor branch August 28, 2019 13:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support for non Diamond Eiger 2X 16M
3 participants