Skip to content

Commit

Permalink
libpressio version 0.56.2
Browse files Browse the repository at this point in the history
Minor improvement:

+ libpressio higher level python bindings have support for getting
  compile time configuration for io plugins
  • Loading branch information
robertu94 committed Jan 20, 2021
1 parent da87b50 commit 786c93f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
cmake_minimum_required(VERSION 3.13 FATAL_ERROR)
project(libpressio VERSION "0.56.1" LANGUAGES CXX C)
project(libpressio VERSION "0.56.2" LANGUAGES CXX C)

#correct was to set a default build type
# https://blog.kitware.com/cmake-and-the-default-build-type/
Expand Down
2 changes: 1 addition & 1 deletion COPYRIGHT.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Copyright © 2021 , UChicago Argonne, LLC
All Rights Reserved
[libpressio, Version 0.56.1]
[libpressio, Version 0.56.2]
Robert Underwood
Argonne National Laboratory

Expand Down
7 changes: 7 additions & 0 deletions swig/libpressio.py
Original file line number Diff line number Diff line change
Expand Up @@ -419,6 +419,13 @@ def get_config(self):
pressio.options_free(lp_options)
return options

def get_configuration(self):
"""get compile time configuration"""
lp_options = pressio.io_get_configuration(self._io)
options = _pressio_to_python(lp_options)
pressio.options_free(lp_options)
return options

def set_config(self, config):
"""set runtime time options"""
try:
Expand Down

0 comments on commit 786c93f

Please sign in to comment.