I’m missing specimen types in a fresh install of openspecimen v6.1RC5. Only PBMC and buffy coat are shown in the specimen type dropdown.
The majority of specimen types are defined in db v2.0 in the specimen-class-and-type.csv file. PBMC and buffy coat appear to be added/modified in higher versions. Checking the logs I saw that the precondition check for the import of specimen class and type fails.
In consequence the data got never imported?
I think the problem was introduced with the commit https://github.com/krishagni/openspecimen/commit/fd26e8c5fec2638e7011ae4bd17769a03d609b62, more specifically in be7270a. Parent classes and types were separated into two files, but the precondition used to check if the file is to be imported is for both the same. After the import of specimen-class.csv entries with the public_id 2003991 already exist and the additional specimen-class-and-type.csv files does not get imported.