-
Notifications
You must be signed in to change notification settings - Fork 18
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
Link and search for element FCs #898
Link and search for element FCs #898
Conversation
aanil
commented
Nov 12, 2024
- Link element FCs correctly in bioinfo tab page
- Add element FCs to searchso that they can be found more easily
"name": row_key, | ||
} | ||
flowcells.append(fc) | ||
except AttributeError: |
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 attribute error is it that we're catching? The row_key.lower
? I see that it's the same for all the other instrument types so mostly curious if you know?
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.
I'm not sure about the original reason. The original code looped through the view result directly and called row.key.lower(). Maybe when row.key was None
it would throw an Attribute error? We could probably get rid of the try-except now that we do it differently.
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.
That makes sense. If you're keen on removing it go for it, but you don't have to for this PR.
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.
I'll leave it in place for now.
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.
👍
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.
Thank you!