Skip to content

wrong file size in display? #2977

Closed
Closed
@sjanssen2

Description

@sjanssen2

I just uploaded a file to qiita (fastq.gz) which shows in my HPC's (gpfs file system) terminal as:
-rw-r--r--. 1 jansses ukdbork 14665415 Mar 9 14:30 PR17-A-S105_R1.fastq.gz
On my local laptop, it is -rw-r--r-- 1 sjanssen sjanssen 14665415 Mar 9 14:30 PR17-A-S105_R1.fastq.gz.
However, once I uploaded it to qiita, and I check in the "Upload Files" section, its file size is displayed as (14.7 MB) (see below screenshot). However, I think it should be computed as 14665415/(1024^2) ~ 13.99, but I figure what happens is 14665415/(1000^2) ~ 14.7.
Bug or feature: https://en.wikipedia.org/wiki/Mebibyte?
Untitled

I'd prefer the 1024 version, since thus it would be easier to compare (by filesize) if all files have been transferred completely from my remote server to qiita. (Individual MD5 sums would be even better)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions