Commit f31ff4be authored by fabrice's avatar fabrice

Bug fixe: save_fig flag doesn't work with refmaplot

parent cff3bc2a
......@@ -126,7 +126,7 @@ whatif_executable: whatif
; Plot settings
n_factor: 1.5
groupby_method: min
save_fig: True
save_fig: False
size_fig: 10
plot_ext: pdf
plot_dpi: 200
......
No preview for this file type
......@@ -89,9 +89,10 @@ class AriaEcContactMap(object):
if mapt == self.reftype:
refmap.write_contacts("_".join((self.outprefix, mapt)),
outdir=outdir)
refmap.saveplot(outdir=outdir,
outprefix="_".join((self.outprefix, mapt)),
**plotparams)
if self.settings.contactmap.config.get("save_fig"):
refmap.saveplot(outdir=outdir,
outprefix="_".join((self.outprefix, mapt)),
**plotparams)
continue
if self.allresmap[mapt].get("contactmap") is not None and \
......
No preview for this file type
No preview for this file type
......@@ -16,8 +16,6 @@ import operator
import pandas as pd
import seaborn as sns
import numpy as np
import matplotlib
matplotlib.use('pdf')
import matplotlib.pyplot as plt
import aria.ConversionTable as ConversionTable
import aria.legacy.AminoAcid as AminoAcid
......
No preview for this file type
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