-
Notifications
You must be signed in to change notification settings - Fork 150
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
Removes dependency on hardcoded acronym-id map and strips subregion from acronym #2401
Conversation
fae4cda
to
5745f9e
Compare
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.
Two comments:
One is a nice to have (explicitly breaking up that **{k: v for items...}
call in _channels.py
The other one I think might be an actual change request (unless you've done some test to make sure we are still compatible with the VCN sessions)
85608e8
to
440453c
Compare
…since it is an id internal to LIMS; Adds ability to strip subregion from acronym
440453c
to
d743d34
Compare
@aamster
fails with
In the interest of moving forward with the users we have, I'm okay merging this ticket. Just open a ticket to fix this problem. We can address that before merging |
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.
Let's merge this and fix the VCN problem later
Addresses #2396
VCN used a hardcoded acronym-id map. This map does not include all regions, and caused the unit to be excluded when we tried to look up region not in this map. Also, the structure id is not needed, since it is just an id internal to lims, and hence the map is not needed, so it is removed.
This PR also adds ability to strip the subregion from the acronym, since as Corbett pointed out, the subregion is beyond annotation accuracy.