-
-
Notifications
You must be signed in to change notification settings - Fork 13
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
Feature Request - unique constraint on containers #6789
Comments
For option 3, what would be changed if we went this route? Would the barcode series change, or just the permissions key to include the institution acronym or guid prefix? |
We don't have to share the container environment. I don't know how many of UAM things are scanned into MSB containers and the other way around, but is anyone else doing that? Maybe an institution's container environment should just belong to them to do whatever? |
That is my question. I'm telling you what I see as options and asking what affects implementing them (or not) might have.
But we don't prevent it.
So that will prevent me from scanning
Some of those are messes (some of which might have been prevented by Option 3), but others are collaborations - KWP is purposefully in UAM containers, for example. So those two collections both having a barcode= Small price to pay for the much more scalable solution??
That's part of the - maybe not problem, but weird. An institution is a text string hanging awkwardly off collection, which gets joined to the institution hanging awkwardly off container for things like checking access. Not sure I have better ideas, but it's awkward and probably hard to understand and makes collaborating maybe more fragile than it has to be. |
I haven't been able to check the previous table yet, but I just found some more recent issues from June and July where students in MSB entered parasite records via data entry and apparently put the MSB:Mamm host catalog number in the part barcode field instead of the parasite vial base36 MSB barcode. The number series overlaps with the numeric UAM barcodes, so when these records were marked to load, the parasite parts loaded to UAM cryovials with that value. I thought at least that the current restrictions prevented this? We probably need to set up a call or task force to discuss. |
No, but that's why changing container type with entry isn't possible. That clearly isn't enough.
I suggest we go ahead with (3) above, including at entry using
|
Some of these are legitimate, as you have described - for example, MSB/DGR and some MSB/UAM, MSB/NMMNHS - these involve joint relationships, not necessarily something broken. We'll need to address these individually. One of the biggest is UAM tissues in MSB freezers - these do exist, three freezers worth, and this is going to involve a dedicated project to recatalog them as MSB records linked to UAM vouchers. But in the meantime, can we try out your option to limit students from accidentally scanning or entering the wrong barcode value? I'm not sure I understand exactly what is being proposed or how that will affect workflows - can you explain a bit more? @dusty @AdrienneRaniszewski |
And any chance I can get a csv of all the MSB + other institution records in your SQL above? |
All, Just to circle back to the original issue with the order I placed within the base-36 A**** series, Electronic Imaging apparently will replace the double diot barcodes that were partially duplicated with MSB, but not the ones that were not duplicated. They are pressing me for confirmation of how to move forward with the order. At this point, can I assume that I can ask them to print a new series for the ones that included duplicates, but using base-36 beginning with G****? If they will not reprint the other series, I guess I will need to know whether or not I can use them. I can hold off for a little while longer, but curation here is pretty much stalled until I can use barcodes. There are two issues ongoing that I feel are related, so not sure if this comment is best here or on the other issue. |
@andrew-hope sorry I don't think I can be much help. I've laid out what I see as the possibilities, I'm not sure what I can do from there without more directed feedback from the collections. We keep finding things that suggest (3) will eventually become hard to dodge, but we don't have to go there now, I'm not sure how that might affect workflows, and I think those points are mostly not from the folks who wander around collections with scanners (eg maybe we're wrong on all of it). Very big picture, anything you can do to reduce confusion is probably worth doing - if it's possible to get barcodes which can't possibly conflict with or be confused (by humans or machines) with anything else then that's probably the thing to do, if you can't then - well, you tell me, it can certainly be my technical problem (eg, (3) above) but I also think that's likely to have social ripples, or ya'll can avoid those restrictions in some way, or ???? @Jegelewicz thoughts? |
The 5 character starting with G base 36 for the remaining four barcodes are reserved for KSB and safe to order. The conflicting A barcodes are something that KSB and MSB need to resolve. The options I see include:
Anything I am missing? |
Ok, thanks both. This all sounds good. I certainly will strive to minimize any issues going forward, and for now, I will proceed with ordering the G-series, and then I will discuss which of the two options Teresa mentioned will be best for MSB. Appreciated. More soon once I can figure out the latter point. |
I agree with you ordering the 2 part circles reprinted at EIM with the Gseries. The other three part labels are more problematic for us to use only because of the potential confusion with the Kansas State University label. These are used in so many different ways across our multiple divisions that I don't think we can use them. But if we could figure out how to remove that series from MSB and assign them to KU, that would work - but I don't know how to do this and would need @dustymc to help. |
Ok, I'll go ahead with the re-order of the double dots. I also agree that ideally, we would not swap rolls of barcodes, as I think that introduces much more uncertainty for the future like we discussed on the previous zoom call. If there were a way to box off only that series for KSB, remove it from ever being used by MSB, and subsequently, we both stick to our own series (A-series for MSB and G-series for KSB) then perhaps we can keep this an isolated incident?? |
That would be (2) - some different (and very likely much more complicated) way of claiming barcodes.
Yes, see #6789 (comment) |
I'm not understanding (2) and how that affects what is proposed. That solution is the only one that would allow KU to keep the several thousand dollars worth of stickers they ordered in a series that MSB has claimed but not purchased/used. Can we schedule a call? |
I probably cannot do Thursday. Friday between 11AM and 5PM MDT I might be able to work in. The issue with #2 is that the base 36 codes aren't really a "series" that can be easily split - but depending on the actual barcodes that are held at KSB, we might be able to work something out or it might be extra complicated. The key to potentially using that solution is knowing what those barcodes are. I wouldn't think that would be super difficult to find out and report? |
I have a full list of the new barcodes that KSB ordered that could easily be transferred, including the first and last values. They are at the end of the series that we have ordered, but I don't know how those values translate into the SQL used to reserve a series in Arctos in order to adjust the values MSB has reserved. |
Agree with more granularity in roles. And if we had that, viewing permissions could be granted to operators across collections - they could view only in one collection, manage in another. We dont have that capability now. |
These barcodes are not within the owning institution's claims. I'll update containers and/or claims very soon if I don't get instructions. HELP! |
These labels violate the nonprinting character check. I'll update them to |
I will remove all dimensions from these unless I get a better recipe very soon. |
Dealing with family health care issues but will try to look over these |
For the DGR followed by 5 numbers - I think they were expected to fall within "DGR10001- DGR20001" SQL = barcode~'^DGR[0-9]*$') and substr(barcode,4)::INT between 10001 and 20001 Whatever is needed in the SQL statement to agree with the description should fix those. (change the 4 to 5?) |
I fixed all of the ALMNH labels - they included trailing spaces. Maybe try first removing all trailing spaces and see what is left? I also fixed the three UTEP labels which were not trailing spaces. |
|
That seems reasonable, but @campmlc will have to agree. |
I fixed DGR13141 but I don't know what to do with the remaining MSB stuff (weird vials - a lot of parasites) |
I believe this is fully functional at test, please test. The error logs have been suggesting this needs to get to production ASAP. BUT, I also suspect some MSB folks really need access to DGR containers, would like to hear from @campmlc on converting if at all possible. I think everything else can be dealt with at any time. |
I changed ownership of these containers: I manipulated these labels: I remove dimensions from these containers: |
@dustymc Looking at barcode series and see your entry: I tried deleting but don't have permissions - ? I'm not sure about this one but we have a working barcode series for our LN2 chest freezer: Can you please delete the messy one? Thanks! |
@ccicero please confirm that you mean https://arctos.database.museum/info/barcodeseries.cfm?action=edit&key=666455329 should be DELETED. |
@ccicero these are the containers using the claim I think you want deleted, please advise.
|
@dustymc can you send a list of what containers are under DGR as institution? Yes, MSB folks need access, but I'll need to look over first to decide in conversion |
Please open issues for any remaining questions. |
Is your feature request related to a problem? Please describe.
See https://github.com/ArctosDB/data-migration/issues/1812#issuecomment-1747385377
Describe what you're trying to accomplish
Figure out the scope in which barcodes must be unique, and how barcodes may be claimed.
Describe the solution you'd like
I believe there are three possibilities:
Describe alternatives you've considered
I don't think there are any, even if the current situation can be resolved we'll probably encounter this again.
Additional context
I can't offer much help in the referenced Issue until this social problem is sorted out by The Community.
Priority
@andrew-hope can set this
The text was updated successfully, but these errors were encountered: