From 777e04abd7e41a56912d1bbf8ebb34abc6fee862 Mon Sep 17 00:00:00 2001 From: Remi Gau Date: Wed, 1 Feb 2023 23:03:17 +0100 Subject: [PATCH 1/2] clear only ptb global vars --- cpp_ptb.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cpp_ptb.m b/cpp_ptb.m index 556d4d7..2d3677f 100644 --- a/cpp_ptb.m +++ b/cpp_ptb.m @@ -131,9 +131,9 @@ function uninitCppPtb() rmpath(CPP_PTB_PATHS); if IsOctave - clear -g; + clear -g CPP_PTB_PATHS CPP_PTB_INITIALIZED; else - clearvars -GLOBAL; + clearvars -GLOBAL CPP_PTB_PATHS CPP_PTB_INITIALIZED; end end From a2ac2b302e98f3ff8507d9fa361777100fff65d2 Mon Sep 17 00:00:00 2001 From: Remi Gau Date: Wed, 1 Feb 2023 23:06:25 +0100 Subject: [PATCH 2/2] update README --- README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index fb63373..e80ef94 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,12 @@ [![Documentation Status: stable](https://readthedocs.org/projects/cpp-ptb/badge/?version=stable)](https://cpp-ptb.readthedocs.io/en/stable/?badge=stable) [![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.4007672.svg)](https://doi.org/10.5281/zenodo.4007672) -[![](https://img.shields.io/badge/Octave-CI-blue?logo=Octave&logoColor=white)](https://github.com/cpp-lln-lab/CPP_PTB/actions) -![](https://github.com/cpp-lln-lab/CPP_PTB/workflows/CI/badge.svg) +[![tests and coverage](https://github.com/cpp-lln-lab/CPP_PTB/actions/workflows/run_tests.yml/badge.svg)](https://github.com/cpp-lln-lab/CPP_PTB/actions/workflows/run_tests.yml) [![codecov](https://codecov.io/gh/cpp-lln-lab/CPP_PTB/branch/master/graph/badge.svg)](https://codecov.io/gh/cpp-lln-lab/CPP_PTB) [![All Contributors](https://img.shields.io/badge/all_contributors-5-orange.svg?style=flat-square)](#contributors-) # CPP_PTB -- [CPP_PTB](#cpp_ptb) +- [CPP\_PTB](#cpp_ptb) - [Documentation](#documentation) - [Content](#content) - [Contributing](#contributing)