Skip to content

Commit

Permalink
Merge pull request #2 from ArcanaFramework/develop
Browse files Browse the repository at this point in the history
add text vector and array classes
  • Loading branch information
tclose authored Feb 22, 2024
2 parents 5d739ee + 7edcd01 commit 7147a98
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ __pycache__
*.egg-info
~*
/.venv
/fileformats/*/_version.py
_version.py
.mypy_cache
4 changes: 0 additions & 4 deletions extras/fileformats/extras/datascience/_version.py

This file was deleted.

10 changes: 10 additions & 0 deletions fileformats/datascience/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,16 @@ class Data(File):
binary = True


class TextVector(Data):
"""space-delimited text file containing a single vector of values"""
binary = False


class TextArray(Data):
"""space-delimited text file containing a 2-d array of values"""
binary = False


class TextMatrix(Data):
ext = ".mat"
binary = False
Expand Down

0 comments on commit 7147a98

Please sign in to comment.