Commit Graph

16 Commits

Author SHA1 Message Date
Charles Mita 87d2d065d3 Add Fortran test framework to Makefile 2018-08-13 13:32:34 +01:00
graeme-winter dc34262acc Code from https://strucbio.biologie.uni-konstanz.de/xdswiki/index.php/LIB for testing plugin implementation 2018-08-13 09:18:44 +01:00
Charles Mita cc4d129932 Copy the HDF5 error stack into ours 2018-04-10 17:16:27 +01:00
Charles Mita fd31a46243 Add README.md 2018-03-28 21:42:16 +01:00
Charles Mita 8938306acb Rename plugin output to durin-plugin.so 2018-03-28 15:48:55 +01:00
Charles Mita 7fb7710a1b Add build dir to .gitignore 2018-03-28 14:14:14 +01:00
Charles Mita b8b66778a2 Improve Makefile to stop unnecessary rebuilds 2018-03-28 14:04:57 +01:00
Charles Mita bcaa5e1f5e Add simple program to open files using code in file.c 2018-03-28 14:04:29 +01:00
Charles Mita 0f4b3d00bd Remove spurious printf 2018-03-28 13:48:44 +01:00
Charles Mita dc94ad89ca Add range checks on frame retrieval 2018-03-28 13:38:40 +01:00
Charles Mita dc41a80525 Internally use zero-based indexing for selecting dataset frame
Convert the one-based index at the plugin level and use zero-based
indexing elsewhere.
2018-03-28 13:38:25 +01:00
Charles Mita 5f57e5329a Handle vlen strings for NX_class attributes 2018-03-28 13:12:33 +01:00
Charles Mita db16131db4 Add manual error tracing
Error messages and function names/line numbers are traced via
__func__ or __FUNCTION__, __LINE__, etc (or just "unknown" if
not available). A manual stack is kept onto which these values
are pushed which can then be dumped to stderr/stdout.

stderr is used to report this information since no other
facility appears to be provided.
2018-03-27 17:58:22 +01:00
Charles Mita af6c98765d Fix dataset rank (ndims) to three.
The get_frame code always assumed a dataset rank of three, so this
doesn't actually change much, but its one less dynamically allocated
buffer to keep track of.
2018-03-27 13:20:35 +01:00
Charles Mita 3c4b00f12f Initial code commit.
Little to no error reporting, still fairly brittle and not very well
tested.
2018-03-27 11:14:33 +01:00
Charles Mita 9e08e01623 Initialise repository 2018-03-26 17:53:48 +01:00