american-art / acm

Amon Carter Museum of American Art
Other
0 stars 4 forks source link

Accession Number Parts Are Rearranged In URIs Sporadically #15

Open kateblanch opened 7 years ago

kateblanch commented 7 years ago

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:

bsnikhila commented 6 years ago

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 commented 6 years ago

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 commented 6 years ago

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.