1
0
mirror of https://github.com/TREX-CoE/trexio.git synced 2024-07-22 18:57:39 +02:00
Commit Graph

565 Commits

Author SHA1 Message Date
b1f1aee7ab Merge branch 'master' into swig-python 2021-09-10 14:04:15 +02:00
ab3f56c023 remove jupyter from requirements.txt 2021-09-10 14:02:10 +02:00
93c13e7824 Merge branch 'swig-python' of github.com:TREX-CoE/trexio into swig-python 2021-09-10 13:54:30 +02:00
q-posev
39c7587b5e more portable setup of environment variables for install_pytrexio.sh 2021-09-10 13:36:51 +02:00
40d5fc31fc check that the data object exists before reading it from the file 2021-09-10 09:38:26 +02:00
c63d420c7f WIP: Docker containers and bash scripts to produce manylinux wheels for different platforms 2021-09-09 17:35:24 +02:00
dcfe1da870 better documentation 2021-09-09 17:29:17 +02:00
569fac5578 move set_NUMPY_INCLUDEDIR into tools directory 2021-09-09 17:28:37 +02:00
b9c3ddb30e FIX: bug related to import numpy in setup.py script
use the custom NUMPY_INCLUDEDIR environment variable derived from a call to numpy.get_include
2021-09-09 15:09:26 +02:00
58b611e21b add setuptools and jupyter to requirements.txt 2021-09-09 15:08:01 +02:00
09937c58c5 better README 2021-09-09 15:06:26 +02:00
b9bbf178c5 add make python-sdist rule 2021-09-09 15:06:16 +02:00
a8d14f4c79 better README for python 2021-09-08 19:53:45 +02:00
04529823f6 add README file for the Python API 2021-09-08 19:34:16 +02:00
67e59f156c explicitly provide __version__ attribute of the trexio module 2021-09-08 19:28:18 +02:00
04a713590a FIX bug due to the direct import of numpy in the setup script
+ add more classifiers
2021-09-08 19:26:30 +02:00
f24a274c4d add requirements file with packages needed for a proper setup 2021-09-07 17:32:23 +02:00
e72fbb4645 minor fixed in setup script to be compatible with Docker containers
+ replaced dependency on h5py with numpy
2021-09-07 17:31:25 +02:00
96678fea2e adapt write functions to receive multidimensional arrays or lists 2021-09-07 17:14:23 +02:00
3e82fd9ae8 FIX: a bug that was leading to Python and valgrind errors 2021-08-31 12:11:22 +03:00
ced8210ff0 BUG: trexio_open fails when test script is executed from outside the root test directory 2021-08-30 18:23:24 +03:00
74c69bb293 better Exception handling with custom exception class 2021-08-30 18:04:35 +03:00
ad44e29e95 fix bug with Python version import 2021-08-30 15:08:26 +03:00
cf51d3971f read module version from _version.py file 2021-08-30 13:46:11 +03:00
fdc9a975b9 add empty line between function headers 2021-08-30 12:52:36 +03:00
b8aff45d3b add notes on Python build and installation issues 2021-08-27 16:14:33 +03:00
5a2b4d96a7 reshape output arrays by default when reading from the file 2021-08-27 16:08:39 +03:00
7b5ebf6272 implement TREXIO File class and change import of pytrexio module 2021-08-26 17:01:53 +03:00
4c28a4cac8 add type converters for numerical arrays in read/write Python functions 2021-08-26 13:14:46 +03:00
d4badd0cf4 Fix build issues on OLYMPE 2021-08-25 16:49:27 +03:00
1dcd32ef7d add SWIG typemaps for safe API calls in single and double precision 2021-08-25 13:31:17 +03:00
ed7e3902e2 add memory-safe functions in single or double precision 2021-08-24 13:32:01 +03:00
2911e91941 make dim an optional argument in read_ functions
if dim is None - the function read all necessary dimensions from the TREXIO file
2021-08-24 12:51:43 +03:00
c7565e9dec minor changes 2021-08-24 11:51:29 +03:00
1b05157316 get HDF5 compilation flags from pythonic pkgconfig 2021-08-24 11:48:46 +03:00
c3cc76c492 fix a typo and add SWIG to requirements for developers 2021-08-24 11:39:46 +03:00
f30c6f60a6 document test_api file 2021-08-21 13:14:59 +03:00
6f7c23aa11 add missing annotations 2021-08-21 13:13:55 +03:00
4fe86ee980 add Python docstrings for API functions
+ move definition of Fortran and Python back ends from Constant Prefixes to Back Ends section
2021-08-21 12:47:36 +03:00
ed47bad056 roll back names in PKG_CHECK_MODULES 2021-08-21 11:58:42 +03:00
8b22494f2f LDFLAGS may contain several items and should be passed second 2021-08-20 16:31:22 +03:00
9f674b1add fix bug due to HDF5 name duplication in PKG_CHECK_MODULES 2021-08-20 16:30:05 +03:00
09823dd6a0 more portable build of the Python extension module with HDF5 paths propagated from configure script 2021-08-20 15:21:49 +03:00
aee68dd619 add Autoconf macro for SWIG 2021-08-20 15:20:09 +03:00
5d5025ae1d get rid of _safe suffix and add dimension to read_dset_str functions 2021-08-20 13:43:15 +03:00
831973fc8e better python compilation 2021-08-18 16:28:43 +03:00
8d8658fabf minor cleaning + exception handling for an unsafe call to the safe API 2021-08-18 15:42:10 +03:00
902147b45b better structure of the python directory 2021-08-18 15:40:42 +03:00
df91b9e7e5 better cleaning of the python part 2021-08-18 15:02:54 +03:00
4ebd13b040 change pytrexio to trexio + comments on compatibility tags and editable installations 2021-08-18 13:46:16 +03:00