From ab22c930ab91b95feb291ced31800110ef308894 Mon Sep 17 00:00:00 2001 From: Kenneth Hoste Date: Wed, 18 Dec 2024 15:46:36 +0100 Subject: [PATCH] add back patch required for Tombo-1.5.1-foss-2023a.eb --- .../easyconfigs/t/Tombo/Tombo-1.5.1_rpy2-v3.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 easybuild/easyconfigs/t/Tombo/Tombo-1.5.1_rpy2-v3.patch diff --git a/easybuild/easyconfigs/t/Tombo/Tombo-1.5.1_rpy2-v3.patch b/easybuild/easyconfigs/t/Tombo/Tombo-1.5.1_rpy2-v3.patch new file mode 100644 index 00000000000..6a01efde1e3 --- /dev/null +++ b/easybuild/easyconfigs/t/Tombo/Tombo-1.5.1_rpy2-v3.patch @@ -0,0 +1,14 @@ +Fix Tombo for use with rpy2 v3 by initialising the DataFrame with a dict +https://github.com/nanoporetech/tombo/issues/208 +Patch prepared for EasyBuild by Simon Branford, University of Birmingham +--- tombo/_plot_commands.py.orig 2020-12-16 14:28:04.891944000 +0000 ++++ tombo/_plot_commands.py 2020-12-16 14:28:14.682304346 +0000 +@@ -44,7 +44,7 @@ + try: + from rpy2 import robjects as r + from rpy2.robjects.packages import importr +- _R_DF = r.DataFrame(()) ++ _R_DF = r.DataFrame({}) + except: + # pass here and print detailed error when main functions are actually called + # in to give specific error message