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

Accession Number Parts Are Rearranged In URIs Sporadically #15

Open
kateblanch opened this issue Jun 26, 2017 · 3 comments
Open

Accession Number Parts Are Rearranged In URIs Sporadically #15

kateblanch opened this issue Jun 26, 2017 · 3 comments
Labels

Comments

@kateblanch
Copy link

I'm not sure why this is (perhaps it's intentional), but the accession number value, which has become the object URI has it's parts rearranged in certain cases. This seems problematic to me in terms of consistency, but if it's a non-issue, that's ok too!

- Rearranged Parts:

- Not Rearranged Parts:

@bsnikhila
Copy link
Contributor

I am using a library function that removes the dots in the accession number to make the URIs. The different units of the accession number are string sorted and then joined with an '_', which results in the parts getting rearranged.

@workergnome
Copy link

This could be problematic, since an accession number of 2001.4.6 and an accession number of 2001.6.4 would then end up with the same URI, if I understand what you're doing?

@kateblanch
Copy link
Author

Thanks for the background info @bsnikhila...can the string sorting just be removed from the process or could a simple "replace" command be used instead? I understand the need to replace the dots.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants