You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/source/news.rst
+15-6Lines changed: 15 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,20 +3,29 @@ Changes in version 1.5
3
3
######################
4
4
5
5
With version 1.5 we introduced several changes on the library as well as on the data model side (nix model version 1.2). Some are even breaking changes.
6
-
1.5 libraries can open files that have been written with pre 1.5 libraries. Old files cannot be opened for ReadWrite access.
7
-
You may want to convert such files using the ``nixio`` command line tool that comes with the library.
6
+
1.5 libraries can open files that have been written with pre 1.5 libraries. Old files cannot be opened for ``ReadWrite`` access.
7
+
You may want to convert such files using the ``nixio`` command line tool that comes with the library or via also implement upgrade into a script.
8
8
9
9
.. code-block:: bash
10
10
11
11
nixio upgrade --help
12
12
13
+
.. code-block:: python
14
+
15
+
import nixio
16
+
filename ="test.nix"
17
+
nixio.file_upgrade(filename, quiet=False)
18
+
19
+
Pass ``quiet=False`` in order to get some feedback on what the tool did. **Note** Files are replaced *in place*. Make sure to backup your files before upgrading.
20
+
13
21
Model changes
14
22
#############
15
23
16
-
* the metadata model was simplified and reflects the changes introduced to the underlying **odml** data model. Accordingly the *Value* entity does no longer exist. New versions of the library can read but not write old data.
17
-
* New *DataFrame* entity
24
+
* the metadata model was simplified to reflects the changes introduced to the underlying **odml** data model. Accordingly the *Value* entity does no longer exist. New versions of the library can read but not write old data.
25
+
* New *DataFrame* entity.
18
26
* *Tags* and *MultiTags* can link to DataFrames as features.
19
27
* *RangeDimension* can link to DataFrames as source for the ticks.
28
+
* *AliasRangeDimension* has been removed, the equivalent can be achieved with linking to a *DataArray*.
20
29
21
30
The *DataFrame*
22
31
###############
@@ -26,8 +35,8 @@ The *DataFrame* is a new entity that stored tabular data. Each column has a name
26
35
*RangeDimension*
27
36
################
28
37
29
-
* *RangeDimensions* ticks can now be stored within the dimension descriptor, or in linked DataArrays or DataFrames. Ticks must still be one-dimensional. (see :ref:`RangeDimension` for more information)
30
-
* Because of the above change, the former "AliasRangeDimension" is no longer needed. The same functionality is achieved by linking the *RangeDimension* to the *DataArray* itself.
38
+
* *RangeDimensions* ticks can now be stored within the dimension descriptor, or in linked DataArrays or DataFrames. Ticks must still be one-dimensional (see :ref:`RangeDimension` for more information).
39
+
* Because of the above change, the former *AliasRangeDimension* is no longer needed. The same functionality is achieved by linking the *RangeDimension* to the *DataArray* itself.
0 commit comments