Skip to content

Commit

Permalink
Merge pull request #58 from jamesmudd/prepare-v0.3.2
Browse files Browse the repository at this point in the history
Prepare v0.3.2
  • Loading branch information
jamesmudd authored Feb 28, 2019
2 parents d0af7a6 + f0e87a1 commit 97aa501
Show file tree
Hide file tree
Showing 16 changed files with 75 additions and 8 deletions.
6 changes: 6 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

Please note this project is still in pre-release development.

## v0.3.2
- Fix bug when fixed size string datasets contain strings of exactly that size.
- Fix bug where >1D fixed size datasets could not be read
- Add more JavaDoc
- Minor refactoring

## v0.3.1
- Add support for String datasets
- Remove Dataset.getDataBuffer - Not all datasets can reasonably support accessing the backing buffer
Expand Down
2 changes: 1 addition & 1 deletion jhdf/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ plugins {

// Varibles
group = 'io.jhdf'
version = '0.3.1'
version = '0.3.2'
sourceCompatibility = 1.8
targetCompatibility = 1.8

Expand Down
4 changes: 2 additions & 2 deletions jhdf/src/main/java/io/jhdf/GroupImpl.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
import io.jhdf.api.Group;
import io.jhdf.api.Node;
import io.jhdf.api.NodeType;
import io.jhdf.btree.BTreeRecord;
import io.jhdf.btree.BTreeV1;
import io.jhdf.btree.BTreeV2;
import io.jhdf.btree.record.BTreeRecord;
import io.jhdf.btree.record.LinkNameForIndexedGroupRecord;
import io.jhdf.btree.LinkNameForIndexedGroupRecord;
import io.jhdf.dataset.DatasetLoader;
import io.jhdf.exceptions.HdfException;
import io.jhdf.exceptions.HdfInvalidPathException;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.jhdf.btree.record;
package io.jhdf.btree;

import java.nio.ByteBuffer;

Expand Down
1 change: 0 additions & 1 deletion jhdf/src/main/java/io/jhdf/btree/BTreeV2.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

import io.jhdf.Superblock;
import io.jhdf.Utils;
import io.jhdf.btree.record.BTreeRecord;
import io.jhdf.exceptions.HdfException;

public class BTreeV2 {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.jhdf.btree.record;
package io.jhdf.btree;

import java.nio.ByteBuffer;

Expand Down
6 changes: 6 additions & 0 deletions jhdf/src/main/java/io/jhdf/btree/package-info.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
/**
* B-tree classes
*
* @author James Mudd
*/
package io.jhdf.btree;
2 changes: 1 addition & 1 deletion jhdf/src/main/java/io/jhdf/dataset/DatasetReader.java
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ private static void fillFixedLentghStringData(Object data, int[] dims, ByteBuffe
if (dims.length > 1) {
for (int i = 0; i < dims[0]; i++) {
Object newArray = Array.get(data, i);
fillData(newArray, stripLeadingIndex(dims), buffer);
fillFixedLentghStringData(newArray, stripLeadingIndex(dims), buffer, stringLength);
}
} else {
for (int i = 0; i < dims[0]; i++) {
Expand Down
9 changes: 9 additions & 0 deletions jhdf/src/main/java/io/jhdf/dataset/package-info.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/**
* Dataset classes. The implementations of {@link io.jhdf.api.Dataset} and
* helper classes.
*
* These are the classes used when accessing HDF5 datasets.
*
* @author James Mudd
*/
package io.jhdf.dataset;
7 changes: 7 additions & 0 deletions jhdf/src/main/java/io/jhdf/examples/package-info.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/**
* Examples for using the jHDF library. This package is not included in the
* library jars.
*
* @author James Mudd
*/
package io.jhdf.examples;
10 changes: 10 additions & 0 deletions jhdf/src/main/java/io/jhdf/exceptions/package-info.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
/**
* Exceptions thrown by the jHDF library.
*
* All exceptions extend {@link io.jhdf.exceptions.HdfException} which is a
* {@link java.lang.RuntimeException} this is intended to make the library
* easier to use.
*
* @author James Mudd
*/
package io.jhdf.exceptions;
8 changes: 8 additions & 0 deletions jhdf/src/main/java/io/jhdf/filter/package-info.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/**
* Support for HDF5 filters used when accessing chunked datasets.
*
* Filters can add useful features such as compression, or error detection.
*
* @author James Mudd
*/
package io.jhdf.filter;
6 changes: 6 additions & 0 deletions jhdf/src/main/java/io/jhdf/links/package-info.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
/**
* Classes implementing {@link io.jhdf.api.Link}.
*
* @author James Mudd
*/
package io.jhdf.links;
6 changes: 6 additions & 0 deletions jhdf/src/main/java/io/jhdf/object/datatype/package-info.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
/**
* Classes representing the data types of HDF5 datasets.
*
* @author James Mudd
*/
package io.jhdf.object.datatype;
9 changes: 9 additions & 0 deletions jhdf/src/main/java/io/jhdf/object/message/package-info.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/**
* Classes representing the messages within HDF5 object headers.
*
* This package should be considered internal the classes should not be directly
* accessed when using the library.
*
* @author James Mudd
*/
package io.jhdf.object.message;
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.jhdf.btree.record;
package io.jhdf.btree;

import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.equalTo;
Expand All @@ -9,6 +9,7 @@

import org.junit.jupiter.api.Test;

import io.jhdf.btree.LinkNameForIndexedGroupRecord;
import io.jhdf.exceptions.HdfException;

class LinkNameForIndexedGroupRecordTest {
Expand Down

0 comments on commit 97aa501

Please sign in to comment.