Skip to content

Conversation

@donald-e-boyce
Copy link
Collaborator

Overview

This cleans up part of hedm/fitgrains.py. It replaces inline code with a function for processing valid reflections. it is a simple change, affecting only one file.

Affected Workflows

Documentation Changes

This adds the function determine_valid_reflections with docstrings.


# make dict to contain new culled results
culled_results_r = defaultdict(list)
num_refl_valid = 0
Copy link
Collaborator

Choose a reason for hiding this comment

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

It looks like num_refl_valid isn't being computed anymore, and left at 0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants