corpus-db icon indicating copy to clipboard operation
corpus-db copied to clipboard

IDs formatted as floats

Open smythp opened this issue 6 years ago • 4 comments

The IDs when getting subject metadata all have .0 at the end. Seems like they should be integers, not floats.

smythp avatar Mar 22 '18 21:03 smythp

Yep indeed. I bet this would be an easy fix, and language-agnostic. It'd just need to be fixed in the DB and in the API documentation.

JonathanReeve avatar Mar 23 '18 00:03 JonathanReeve

Yes, I could probably do this one.

smythp avatar Mar 23 '18 00:03 smythp

Oh, and this would need to be fixed in the data/dev.db, too. If you do this, let me know what command/script you use, so I can replicate it on my local copy of the DB.

JonathanReeve avatar Mar 23 '18 00:03 JonathanReeve

Yep no promises but if I have time I'll do it. It's a relatively simple fix but it's a big data set :)

smythp avatar Mar 23 '18 00:03 smythp