Commit dd414fac authored by Fabrice  ALLAIN's avatar Fabrice ALLAIN

feat: support connit alias for tbl2xml command

parent f3ce795d
......@@ -35,7 +35,7 @@ from ..core.legacy import AminoAcid as AminoAcid
from .common import get_filename, TqdmToLogger
from .protein import Protein
from .protmap import (ResAtmMap, ResMap, SsAaAtmMap)
from .reader import MapFileListReader, TblDistFile
from .reader import MapFileListReader, TblDistFile, MapFile
from .settings import AriaEcSettings
LOG = logging.getLogger(__name__)
......@@ -1811,6 +1811,8 @@ class AriaEcXMLConverter(AriaXMLConverter):
molecule_path = self.settings.tbl2xml.args["molecule"]
tbl_paths = self.settings.tbl2xml.args["infiles"]
list_name = self.settings.tbl2xml.args["listname"]
list_name = MapFile.conkit_alias[list_name] \
if list_name in MapFile.conkit_alias else list_name
self.tbl2xml(outdir_path, molecule_path, tbl_paths, list_name)
......
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