Skip to content

Commit

Permalink
Update binary.py add Docx binary type
Browse files Browse the repository at this point in the history
  • Loading branch information
yvanlebras authored Sep 20, 2023
1 parent 652751d commit 12ce9f1
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions lib/galaxy/datatypes/binary.py
Original file line number Diff line number Diff line change
Expand Up @@ -4540,3 +4540,11 @@ def display_peek(self, dataset: DatasetProtocol) -> str:
return dataset.peek
except Exception:
return f"Binary FITS file size ({nice_size(dataset.get_size())})"

class Docx(Binary):
"""
Docx file.
Docx files are generated and used by Microsoft word software as a format to store text informations.
"""

file_ext = "docx"

0 comments on commit 12ce9f1

Please sign in to comment.