From c10c5d63bf3a0ca03a2148f2b79e5a61fe2128db Mon Sep 17 00:00:00 2001 From: Brian McFee Date: Wed, 13 Apr 2022 18:59:34 -0400 Subject: [PATCH 1/3] Fixed a bug in opmaps --- pumpp/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pumpp/core.py b/pumpp/core.py index 24366c7..74a596b 100644 --- a/pumpp/core.py +++ b/pumpp/core.py @@ -226,7 +226,7 @@ def layers(self, api='keras'): return layermap def __getitem__(self, key): - return self.opmap.get(key) + return self.opmap[key] def __call__(self, *args, **kwargs): return self.transform(*args, **kwargs) From e51b505964f803c7ec2481da5fec8e5a2ddad182 Mon Sep 17 00:00:00 2001 From: Brian McFee Date: Wed, 13 Apr 2022 19:03:33 -0400 Subject: [PATCH 2/3] updated readme badge --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 3fa1c66..4e3a22d 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,6 @@ # pumpp [![GitHub license](https://img.shields.io/badge/license-ISC-blue.svg)](https://raw.githubusercontent.com/bmcfee/pumpp/master/LICENSE) -[![Build Status](https://travis-ci.org/bmcfee/pumpp.svg?branch=master)](https://travis-ci.org/bmcfee/pumpp) -[![Coverage Status](https://coveralls.io/repos/github/bmcfee/pumpp/badge.svg?branch=master)](https://coveralls.io/github/bmcfee/pumpp?branch=master) +[![CI](https://github.com/bmcfee/pumpp/actions/workflows/ci.yml/badge.svg)](https://github.com/bmcfee/pumpp/actions/workflows/ci.yml) [![Documentation Status](http://readthedocs.org/projects/pumpp/badge/?version=latest)](http://pumpp.readthedocs.io/en/latest/?badge=latest) From 4532678e20e81aec0fe2d16d0b92cced045717fa Mon Sep 17 00:00:00 2001 From: Brian McFee Date: Wed, 13 Apr 2022 19:45:17 -0400 Subject: [PATCH 3/3] updated badges [ci skip] --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 4e3a22d..dace2cd 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ # pumpp [![GitHub license](https://img.shields.io/badge/license-ISC-blue.svg)](https://raw.githubusercontent.com/bmcfee/pumpp/master/LICENSE) [![CI](https://github.com/bmcfee/pumpp/actions/workflows/ci.yml/badge.svg)](https://github.com/bmcfee/pumpp/actions/workflows/ci.yml) +[![codecov](https://codecov.io/gh/bmcfee/pumpp/branch/main/graph/badge.svg?token=i7YxIwweBQ)](https://codecov.io/gh/bmcfee/pumpp) [![Documentation Status](http://readthedocs.org/projects/pumpp/badge/?version=latest)](http://pumpp.readthedocs.io/en/latest/?badge=latest)