-
Notifications
You must be signed in to change notification settings - Fork 706
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add back patch required for Tombo-1.5.1-foss-2023a.eb
- Loading branch information
Showing
1 changed file
with
14 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |