Skip to content

Commit

Permalink
Set file size to be "None"
Browse files Browse the repository at this point in the history
This prevents a misleading file size of 0 bytes being displayed in
girder.

This is working without issues so far.

Signed-off-by: Patrick Avery <patrick.avery@kitware.com>
  • Loading branch information
psavery committed Jan 22, 2024
1 parent cfe3947 commit 15476f6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ def importData(self, parent, parentType, params, progress, user, **kwargs):
reuseExisting=True,
assetstore=self.assetstore,
mimeType='application/dicom',
size=0,
size=None,
saveFile=False,
)
file['dicom_uids'] = {
Expand Down

0 comments on commit 15476f6

Please sign in to comment.