Skip to content

Commit

Permalink
Minor changes and bumped version to 0.1b7
Browse files Browse the repository at this point in the history
  • Loading branch information
adamancer committed Feb 27, 2024
1 parent 20bd05f commit f050e6a
Show file tree
Hide file tree
Showing 7 changed files with 32 additions and 16 deletions.
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,22 @@ The format is based on [Keep a
Changelog](https://keepachangelog.com/en/1.0.0/), and this project
adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

0.1b7
-----

- Transferred repository to NMNH-IDSC
- Added `from_xml_parallel()` method to EMuReader to allow parallel
reading of XML files (experimental)
- Added support for pickle and json to EMuRecord objects
- Added check for missing grid fields to the EMuReader and EMuGrid
objects. These methods are intended to allow users to catch when a
required grid field is missing from an export.
- Changed custom data types to be essentially immutable. Previously
attributes could be directly modified.
- Changed loading of schema and config files such that these files are
explicitly loaded when the module is imported. Previously they were
lazy loaded when an associated attribute was accessed.

0.1b6
-----

Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
author = "Adam Mansur"

# The full version, including alpha/beta/rc tags
release = "0.1b6"
release = "0.1b7"


# -- General configuration ---------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion docs/user-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ write_xml(records, "update.xml")
```

You can use the experimental
:py:meth:`~xmu.io.EMuReader.from_xml_parallel` method to read large XML
:py:meth:`xmu.io.EMuReader.from_xml_parallel` method to read large XML
files more quickly. For example, to create a dict mapping IRNs to
records:

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
description="Reads and writes XML for Axiell EMu",
long_description=long_description,
long_description_content_type="text/markdown",
version="0.1b6",
version="0.1b7",
classifiers=[
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
Expand Down
2 changes: 1 addition & 1 deletion xmu/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@
strip_tab,
)

__version__ = "0.1b6"
__version__ = "0.1b7"
__author__ = "Adam Mansur"
__credits__ = "Smithsonian National Museum of Natural History"
18 changes: 9 additions & 9 deletions xmu/containers.py
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ class EMuSchema(dict):

#: EMuConfig : module-wide configuration parameters. Set automatically
#: when an EMuConfig object is created.
#:
#:
#: :meta hide-value:
config = None

Expand Down Expand Up @@ -627,13 +627,13 @@ class to use for lists

#: EMuConfig : module-wide configuration parameters. Set automatically
#: when an EMuConfig object is created.
#:
#:
#: :meta hide-value:
config = None

#: EMuSchema : info about a specific EMu configuration. Set automatically
#: when an EMuSchema object is created.
#:
#:
#: :meta hide-value:
schema = None

Expand Down Expand Up @@ -778,13 +778,13 @@ class EMuRow(MutableMapping):

#: EMuConfig : module-wide configuration parameters. Set automatically
#: when an EMuConfig object is created.
#:
#:
#: :meta hide-value:
config = None

#: EMuSchema : info about a specific EMu configuration. Set automatically
#: when an EMuSchema object is created.
#:
#:
#: :meta hide-value:
schema = None

Expand Down Expand Up @@ -881,13 +881,13 @@ class EMuGrid(MutableSequence):

#: EMuConfig : module-wide configuration parameters. Set automatically
#: when an EMuConfig object is created.
#:
#:
#: :meta hide-value:
config = None

#: EMuSchema : info about a specific EMu configuration. Set automatically
#: when an EMuSchema object is created.
#:
#:
#: :meta hide-value:
schema = None

Expand Down Expand Up @@ -1099,13 +1099,13 @@ class to use for lists

#: EMuConfig : module-wide configuration parameters. Set automatically
#: when an EMuConfig object is created.
#:
#:
#: :meta hide-value:
config = None

#: EMuSchema : info about a specific EMu configuration. Set automatically
#: when an EMuSchema object is created.
#:
#:
#: :meta hide-value:
schema = None

Expand Down
6 changes: 3 additions & 3 deletions xmu/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,13 @@ class EMuReader:

#: EMuConfig : module-wide configuration parameters. Set automatically
#: when an EMuConfig object is created.
#:
#:
#: :meta hide-value:
config = None
config = None

#: EMuSchema : info about a specific EMu configuration. Set automatically
#: when an EMuSchema object is created.
#:
#:
#: :meta hide-value:
schema = None

Expand Down

0 comments on commit f050e6a

Please sign in to comment.