Commit 57f42c78 authored by Fabrice  ALLAIN's avatar Fabrice ALLAIN

Bug revision: removed hard coded lines...

parent c6e18071
......@@ -839,7 +839,6 @@ class AriaEcXMLConverter(AriaXMLConverter):
res2:
list_type :
type of atoms in the product (Default value = "min")
product :
res1 :
res2 :
......@@ -920,7 +919,7 @@ class AriaEcXMLConverter(AriaXMLConverter):
((idx1, atm1), (idx2, atm2)) for (atm1, atm2) in
list(itertools.product(atms1, atms2))]
def _pdbdistmaps(self, sequence):
def _pdbdistmaps(self):
# TODO: use precision level, actually we only use SsAaAtmMaps
precision_level = self.settings.setup.config.get(
"pdbdistance_level", "ss")
......@@ -1089,7 +1088,7 @@ class AriaEcXMLConverter(AriaXMLConverter):
# if '_upper_bound' in bound.lower())}
# targetmaps.subfill(pdbdict, level=1)
# targetmaps = SsAaAtmMap()
targetmaps = self._pdbdistmaps(sequence)
targetmaps = self._pdbdistmaps()
else:
# retourne fixed AtmMap
raise ValueError("Unknown distance_type %s or wrong distance file" %
......@@ -1285,10 +1284,6 @@ class AriaEcXMLConverter(AriaXMLConverter):
# Define Residue lists for the contact. Those lists contains
# normally only one element by default except if we introduce
# neighbors with neigh_flag triggered
# TODO: REMOVE !!!!!
neigh_flag = True
adr_flag = False
contribs_type = "same"
subcontacts = self.neighcontact(subcontacts, max_seqidx - 1) if neigh_flag \
else [subcontacts]
......
Markdown is supported
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