Skip to content

842 dump and load scalars of sessions #843

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ before_install:
- hash -r
- conda config --add channels conda-forge
- conda config --set always_yes yes --set changeps1 no
# workaround for conda >= 4.8
- if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then
pip install tqdm;
fi
- conda update -q conda

# Useful for debugging any issues with conda
Expand Down
4 changes: 2 additions & 2 deletions condarecipe/larray/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package:
name: larray
version: 0.32.1
version: 0.33-dev

source:
git_tag: 0.32.1
git_tag: 0.33-dev
git_url: https://github.com/larray-project/larray.git
# git_tag: master
# git_url: file://c:/Users/gdm/devel/larray/.git
Expand Down
14 changes: 14 additions & 0 deletions doc/source/changes.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,20 @@
Change log
##########

Version 0.33
============

In development.

CORE
----
.. include:: ./changes/version_0_33.rst.inc

EDITOR
------
.. include:: ./changes/editor/version_0_33.rst.inc


Version 0.32.1
==============

Expand Down
59 changes: 59 additions & 0 deletions doc/source/changes/version_0_33.rst.inc
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
.. py:currentmodule:: larray


Syntax changes
^^^^^^^^^^^^^^

* renamed ``Array.old_method_name()`` to :py:obj:`Array.new_method_name()` (closes :issue:`1`).

* renamed ``old_argument_name`` argument of :py:obj:`Array.method_name()` to ``new_argument_name``.


Backward incompatible changes
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

* other backward incompatible changes


New features
^^^^^^^^^^^^

* added a feature (see the :ref:`miscellaneous section <misc>` for details). It works on :ref:`api-axis` and
:ref:`api-group` objects.

Here is an example of the new feature:

>>> arr = ndtest((2, 3))
>>> arr
a\b b0 b1 b2
a0 0 1 2
a1 3 4 5

And it can also be used like this:

>>> arr = ndtest("a=a0..a2")
>>> arr
a a0 a1 a2
0 1 2

* added another feature in the editor (closes :editor_issue:`1`).

.. note::

- It works for foo bar !
- It does not work for foo baz !


.. _misc:

Miscellaneous improvements
^^^^^^^^^^^^^^^^^^^^^^^^^^

* scalar objects (i.e of type int, float, bool, string, date, time or datetime) belonging to a session
are now also saved and loaded when using the HDF5 or pickle format (closes :issue:`842`).


Fixes
^^^^^

* fixed something (closes :issue:`1`).
2 changes: 1 addition & 1 deletion larray/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from __future__ import absolute_import, division, print_function

__version__ = '0.32.1'
__version__ = '0.33-dev'


from larray.core.axis import Axis, AxisCollection, X
Expand Down
Loading