Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
if plot_config["class"] == "LcPlot":
args = ['--outdir', plot_config_outdir]
args.extend(['--bintime', str(dt)])
args = add_filter_to_args(args, filters, CONFIG.TIME_COLUMN, '--safe-interval')
args = add_filter_to_args(args, filters, "PI", '--pi-interval')
args = add_filter_to_args(args, filters, "E", '--e-interval')
#args = add_filter_to_args(args, filters, "PHA", '--pha-interval')
#args = add_filter_to_args(args, filters, "RATE", '--rate-interval')
args.extend(filenames)
logging.debug("Calling MPlcurve, args: " + str(args))
MPlcurve(args)
push_plotconfig_results(results["plot_configs"], plot_config["id"], plot_config_outdir)
elif plot_config["class"] == "PDSPlot":
logging.error("PDSPlot not supported yet, still work in progress!!")
''' TO MANY QUESTIONS OPENED FOR IMPLEMENT PDS ON BULK ANALYSIS
args = ['--outdir', plot_config_outdir]
args.extend(['--kind', "PDS"])
args.extend(['--bintime', str(dt)])
# Normalization: MaltPyn supports Leahy or rms, now DAVE sends leahy, frac, abs or none
args.extend(['--norm', str(plot_config["norm"])])