Repository 'marea'
hg clone https://toolshed.g2.bx.psu.edu/repos/bimib/marea

Changeset 77:3b0e71e28c0b (2021-01-03)
Previous changeset 76:3f144565551f (2020-06-03) Next changeset 78:d73c470594c8 (2021-01-03)
Commit message:
Fix custom rules not in xml
modified:
Marea/ras_generator.py
b
diff -r 3f144565551f -r 3b0e71e28c0b Marea/ras_generator.py
--- a/Marea/ras_generator.py Wed Jun 03 12:00:40 2020 -0400
+++ b/Marea/ras_generator.py Sun Jan 03 21:45:12 2021 +0000
[
@@ -430,7 +430,7 @@
         react = recon.reactions
         rules = [react[i].gene_reaction_rule for i in range(len(react))]
         ids = [react[i].id for i in range(len(react))]
-    except cb.io.sbml3.CobraSBMLError:
+    except:
         try:
             data = (pd.read_csv(data, sep = '\t', dtype = str, engine='python')).fillna('')
             if len(data.columns) < 2: