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

feedsToCheck Appears to Only Check One Feed Per Station #5

Open
penniesfromheaven opened this issue Dec 3, 2019 · 11 comments
Open

Comments

@penniesfromheaven
Copy link

I'm trying to identify trains running on two lines, the A/C and B/D, arriving at Columbus Circle, station A24. The code, however, only returns the trains arriving on the B/D line, which are associated with feedsToCheck = BDFMfeednum. If I put ACEHfeednum ahead of BDFMfeednum, the code returns the trains arriving on the A/C line, but not the B/D line. I can't seem to get the code to return the trains running on both lines.

Any help would be greatly appreciated.

@lightalan
Copy link
Owner

lightalan commented Dec 3, 2019 via email

@penniesfromheaven
Copy link
Author

Much appreciated. I'm using the returned times to drive LEDs attached to a Pi, rather than use the full UI, so at least for me, it would help even if it's something that was initially supported only in the backend code.

@lightalan
Copy link
Owner

lightalan commented Dec 3, 2019 via email

@penniesfromheaven
Copy link
Author

Thanks again for looking at this - any update?

@lightalan
Copy link
Owner

lightalan commented Dec 22, 2019 via email

@penniesfromheaven
Copy link
Author

Any sense when this might be implemented?

@lightalan
Copy link
Owner

lightalan commented Feb 10, 2020 via email

@penniesfromheaven
Copy link
Author

Sounds good, thanks again.

@penniesfromheaven
Copy link
Author

Any progress? I think you just need to add a loop to run for as many entries are populated in feedsToCheck but they way the code is structured I'm not quite sure where the loop would go. It looks like it's meant to work with feedScores, but because only the first entry with a hit in feedsToCheck returns any values, feedScores for any other entries always appear to return 0.

@lightalan
Copy link
Owner

lightalan commented Aug 8, 2020 via email

@penniesfromheaven
Copy link
Author

No worries at all. An optional flag sounds great.

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

No branches or pull requests

2 participants