-
Notifications
You must be signed in to change notification settings - Fork 1
Change domain names to standard scheme #121
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
Conversation
docs/odin/odin-data-reduction.ipynb
Outdated
| "outputs": [], | ||
| "source": [ | ||
| "masked = wf.compute(CountsMasked[SampleRun])\n", | ||
| "masked = wf.compute(MaskedDetector[SampleRun])\n", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't this be CorrectedDetector instead of MaskedDetector?
| MonitorType = TypeVar( | ||
| "MonitorType", BeamMonitor1, BeamMonitor2, BeamMonitor3, BeamMonitor4 | ||
| ) | ||
| RunType = reduce_t.RunType |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We would like to keep the imaging runtypes here, as the names fit better than the ones in essreduce.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What do you mean? The names haven't changed. The only difference is that the type var is no longer constrained. This has do be done when constructing a pipeline.
Mixing type vars is tricky. If they happen to get different constraints (ess.reduce.nexus.types.RunType via Pipeline(constraints=...) and ess.imaging.types.RunType via TypeVar contraints), then the pipeline will fail to build with obscure errors. I changed this definition precisely because I encountered such an error.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, I misunderstood, I thought we now had to use the names from essreduce.
Then it's fine 👍
No description provided.