IDR / idr-utils

Utility scripts for managing IDR submissions
BSD 2-Clause "Simplified" License
2 stars 6 forks source link

stats.py: fix calculation of Sets #18

Closed sbesson closed 4 years ago

sbesson commented 4 years ago

Follow-up of #16, this fixes the calculation of the Sets column to use the return of the query.

Previously, the value of nexpected was used which corresponds to the number of rows in the filePaths.tsv or plates.tsv- see https://github.com/IDR/idr.openmicroscopy.org/pull/93. This PR updates the script to use the query returning the number of datasets in the project or plates in the screen - see https://github.com/IDR/idr.openmicroscopy.org/pull/94/commits/043e3669b6e33022ce0582c4b4d07e6c3a7b57ab.

dominikl commented 4 years ago

Looks good to me 👍