Skip to content
This repository has been archived by the owner on Sep 11, 2020. It is now read-only.

Fixes behavior referenced in #38 #40

Merged
merged 1 commit into from
Jul 16, 2014
Merged

Conversation

chrissnyder
Copy link
Contributor

My brain starts to go in circles when I keep looking at this, so I might say something horribly incorrect here.

But what it looks like to me is that 14ad24a caused the issue. When a new SubjectForRecent was created, it iterated over all properties, including the Subject constructor. So when it got to the point of adding the instances to the instances array, the object was actually a Subject.

This partially reverts the change, but allows the params set to be flexible. So the "selected_light_curve" property needed for PH still is fine.

@brian-c
Copy link
Contributor

brian-c commented Jul 15, 2014

I think that makes some sense.

Does this replace #38?

@chrissnyder
Copy link
Contributor Author

Yea, #38 would be unnecessary.

@edpaget
Copy link
Contributor

edpaget commented Jul 15, 2014

That's a much nicer solution!

@chrissnyder
Copy link
Contributor Author

Anyone have an issue with me merging this?

@brian-c
Copy link
Contributor

brian-c commented Jul 16, 2014

Nope, looks good to me.

chrissnyder added a commit that referenced this pull request Jul 16, 2014
@chrissnyder chrissnyder merged commit 3987d90 into master Jul 16, 2014
@edpaget edpaget deleted the recents-duplicates-fix branch November 4, 2014 15:40
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants