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

Link and search for element FCs #898

Merged
merged 2 commits into from
Nov 14, 2024

Conversation

aanil
Copy link
Member

@aanil 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:
Copy link
Member

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?

Copy link
Member Author

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.

Copy link
Member

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.

Copy link
Member Author

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.

Copy link
Contributor

@ssjunnebo ssjunnebo left a comment

Choose a reason for hiding this comment

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

👍

Copy link
Member

@alneberg alneberg left a comment

Choose a reason for hiding this comment

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

Thank you!

@aanil aanil merged commit a14b77e into NationalGenomicsInfrastructure:master Nov 14, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants