Closed antolinos closed 2 years ago
Note that this partly duplicates #233 which adds Dataset.datasetSize
and Investigation.investigationSize
but no fileCount
.
@antolinos, would you agree to name that new attribute Dataset.datasetSize
and Investigation.investigationSize
respectively instead of volume
as done in #233?
@antolinos, would you agree to name that new attribute
Dataset.datasetSize
andInvestigation.investigationSize
respectively instead ofvolume
as done in #233?
Perfectly fine with me!!
It has always been a sort of issue to get the calculation with the total volume of a number of files. We have solved it by storing these values as DataParameter and InvestigationParameters and they are recalculated any time a file, dataset or investigation is modified in ICAT
We can live without but it might be interesting to consider to add them as fields of the tables Investigation and Dataset.
Example: