diff --git a/ariaec/protmap.py b/ariaec/protmap.py index fa8da27a092e6e3646432e2daf63f92360b5447d..3d53f0994e69e27b99748e08f8cf47d9f597c102 100644 --- a/ariaec/protmap.py +++ b/ariaec/protmap.py @@ -19,6 +19,7 @@ import pandas as pd import seaborn as sns import numpy as np import datetime +import textwrap from .ndconv import net_deconv from matplotlib import pyplot as plt import aria.ConversionTable as ConversionTable @@ -27,7 +28,6 @@ from matplotlib.lines import Line2D from .base import (tickmin, tickrot, titleprint) import sklearn.metrics as skm - LOG = logging.getLogger(__name__) @@ -477,7 +477,8 @@ class ProteinMap(Map): ## ## ----------------------------------------------------------------------------- ## -## Sequence: {seq} +## Sequence: +## {seq} ## Protein length: {protlen} ## ## ----------------------------------------------------------------------------- @@ -523,7 +524,8 @@ class ProteinMap(Map): ## Score tresholds ({map2name}): ## {rocthres}""".format( map1name=map1name, map2name=map2name, map1path=self.path, - map2path=cmpmap.path, seq=self.sequence, + map2path=cmpmap.path, + seq="\n## ".join(textwrap.wrap(self.sequence, width=77)), protlen=len(self.sequence), date=datetime.date.today().strftime("%A %d. %B %Y"), outdir=outdir, accuracy=acc, precision=prec, recall=recall, diff --git a/ariaec/protmap.pyc b/ariaec/protmap.pyc index 6919d03072f4c46b59bc6fc6602a553761e8b7e9..4d4715a327c4dced3cc16180734c96a37264da6d 100644 Binary files a/ariaec/protmap.pyc and b/ariaec/protmap.pyc differ