Commit b1e477c7 authored by Fabrice Allain's avatar Fabrice Allain
Browse files

Added native_reliable option in config file

parent 4108c51d
......@@ -48,6 +48,7 @@ hb_dplus: 0.5
; distance iif ADR
; distance_type : fixed, pdbstat, distfile [fixed]; fixed use
; ca, cb and sc upper_bound
native_reliable: False
evfold_weight: False
neighborhood_contact: False
pair_list: min
......
......@@ -522,6 +522,7 @@ class AriaEcXMLConverter(AriaXMLConverter):
adr_type = self.settings.setup.config["ambiguous_distance_type"]
pair_flag = self.settings.setup.config["pair_list"]
target_dist = self.settings.setup.config["restraint_distance"]
nat_reliable = self.settings.setup.config["native_reliable"]
def min_ind(ind):
return ind if ind >= 0 else 0
......@@ -639,7 +640,8 @@ class AriaEcXMLConverter(AriaXMLConverter):
"lower_bound": self.settings.setup.config["lower_bound"],
"upper_bound": upp_bound,
"active": 1,
"reliable": 0,
"reliable": 1 if nat_reliable and listname in (
"native", "native_full", "pdb") else 0,
"list_name": listname
},
"contrib": {}
......
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