Commit 9d6b5728 authored by fabrice's avatar fabrice
Browse files

Bug Fixe: error when writing boolean values aria project file (yes/no only accepted)

parent 8dc289ac
......@@ -102,9 +102,9 @@ def format_str(string):
:param string:
if"^\s*(true|yes)\s*$", string, re.I):
if"^\s*(true)\s*$", string, re.I):
return True
elif"^\s*(false|no)\s*$", string, re.I):
elif"^\s*(false)\s*$", string, re.I):
return False
elif"^\s*\d+\s*$", string):
return int(string)
No preview for this file type
......@@ -8,7 +8,7 @@ ariaproject_template:
; Contact definition section used to define contactmap from pdb file
default_cutoff: 7.0
; Add contact cutoff below folowwing the syntax atm1_atm2
; Add contact cutoff folowwing the syntax atm1_atm2
;ca_ca: 7.0
;cb_cb: 7.0
;sc_sc: 5.0
No preview for this file type
......@@ -18,6 +18,7 @@ import pandas as pd
import seaborn as sns
import numpy as np
import datetime
from .ndconv import net_deconv
from matplotlib import pyplot as plt
import aria.ConversionTable as ConversionTable
import aria.legacy.AminoAcid as AminoAcid
......@@ -803,6 +804,7 @@ class MapFilter:
logger.warning("Not fully implemented !!")["contactmap"].as_matrix()))
# (if refmap given !!!!)
# To apply ND on regulatory networks, follow steps explained in
# Supplementary notes 1.4.1 and 2.1 and 2.3 of the paper.
No preview for this file type
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment