diff --git a/.gitignore b/.gitignore index e5c8c19..8138a03 100644 --- a/.gitignore +++ b/.gitignore @@ -21,5 +21,5 @@ __pycache__ *.egg-info ~* /.venv -/fileformats/*/_version.py +_version.py .mypy_cache \ No newline at end of file diff --git a/extras/fileformats/extras/datascience/_version.py b/extras/fileformats/extras/datascience/_version.py deleted file mode 100644 index 65b99fe..0000000 --- a/extras/fileformats/extras/datascience/_version.py +++ /dev/null @@ -1,4 +0,0 @@ -# file generated by setuptools_scm -# don't change, don't track in version control -__version__ = version = '0.1.0' -__version_tuple__ = version_tuple = (0, 1, 0) diff --git a/fileformats/datascience/data.py b/fileformats/datascience/data.py index da85cfa..64918ad 100644 --- a/fileformats/datascience/data.py +++ b/fileformats/datascience/data.py @@ -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