Skip to content

Commit

Permalink
add back patch required for Tombo-1.5.1-foss-2023a.eb
Browse files Browse the repository at this point in the history
  • Loading branch information
boegel committed Dec 18, 2024
1 parent b2e7ee7 commit ab22c93
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions easybuild/easyconfigs/t/Tombo/Tombo-1.5.1_rpy2-v3.patch
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit ab22c93

Please sign in to comment.