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

Review for DM-3400 (Eliminate circular aliases in slot centroid definition) #22

Merged
merged 5 commits into from Aug 6, 2015

Conversation

jdswinbank
Copy link
Contributor

No description provided.

This will allow plugins that depend on slots to create aliases directly
to the slot algorithms themselves by resolving those aliases early.
That makes it easier to catch cycles and dependencies that don't
agree with the executionOrder values, and it ensures the aliases
remain correct if the slots are later changed.
else:
msConfig.slots.centroid = "base_SdssCentroid"

msConfig.slots.centroid = "base_SdssCentroid"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

You've eliminated the only use of the runCentroider argument. Drop it entirely?

Copy link
Member

Choose a reason for hiding this comment

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

Oops, of course.

This also removes an invalid test, that tried to verify that we
could run the default suite of algorithms without running
a centroider: we can't, because most of those algorithms do
depend on running a centroider.
This requirement was already document and should have been guaranteed by
higher-level code, but until recently was not; this ensures that mistake can't
happen again.
The catalog produced by the test utility code contains truth
value fields, and by default the slots are set to those values.
We now remove those default slotss when using the task config
to set the slots, so the config values are fully obeyed.
@TallJimbo TallJimbo merged commit a06b53a into master Aug 6, 2015
@ktlim ktlim deleted the tickets/DM-3400 branch August 25, 2018 06:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants