Skip to content

Commit 786c93f

Browse files
committed
libpressio version 0.56.2
Minor improvement: + libpressio higher level python bindings have support for getting compile time configuration for io plugins
1 parent da87b50 commit 786c93f

3 files changed

Lines changed: 9 additions & 2 deletions

File tree

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
cmake_minimum_required(VERSION 3.13 FATAL_ERROR)
2-
project(libpressio VERSION "0.56.1" LANGUAGES CXX C)
2+
project(libpressio VERSION "0.56.2" LANGUAGES CXX C)
33

44
#correct was to set a default build type
55
# https://blog.kitware.com/cmake-and-the-default-build-type/

COPYRIGHT.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Copyright © 2021 , UChicago Argonne, LLC
22
All Rights Reserved
3-
[libpressio, Version 0.56.1]
3+
[libpressio, Version 0.56.2]
44
Robert Underwood
55
Argonne National Laboratory
66

swig/libpressio.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -419,6 +419,13 @@ def get_config(self):
419419
pressio.options_free(lp_options)
420420
return options
421421

422+
def get_configuration(self):
423+
"""get compile time configuration"""
424+
lp_options = pressio.io_get_configuration(self._io)
425+
options = _pressio_to_python(lp_options)
426+
pressio.options_free(lp_options)
427+
return options
428+
422429
def set_config(self, config):
423430
"""set runtime time options"""
424431
try:

0 commit comments

Comments
 (0)