config

Snakemake: confusion on how to access config files properly

拜拜、爱过 提交于 2021-02-15 11:53:52
问题 This question follows on from a question I asked previously and it regards understanding how to access config files correctly using Snakemake. I have a specific problem I need to address which I'll ask first and a general problem understanding how indexing works which I'll ask second. I'm using snakemake to run and ATAC-seq pipeline from Alignment/QC through to motif analysis. A: Specific Question I'm trying to add a rule called trim_galore_pe to trim adapters from my fastq files before

Telegraf test input and output plugins error multiple conf files

纵饮孤独 提交于 2021-02-11 10:18:43
问题 Telegraf version: Telegraf v1.0.1 I have the following files: /etc/telegraf/telegraf.conf main config file (which you create/get for free while installing telegraf). This file doesn't have any [[output.<plugin>]] stanza in it but does have valid default inputs.xx plugins enabled. /etc/telegraf/telegraf.d/1-company-output-plugin.conf (This file has valid outputs.<pluginname> plugin). /etc/telegraf/telegraf.d/telegraf-additional-inputs-plugins.conf (this file has additional inputs.<pluginname>

Telegraf test input and output plugins error multiple conf files

[亡魂溺海] 提交于 2021-02-11 10:18:29
问题 Telegraf version: Telegraf v1.0.1 I have the following files: /etc/telegraf/telegraf.conf main config file (which you create/get for free while installing telegraf). This file doesn't have any [[output.<plugin>]] stanza in it but does have valid default inputs.xx plugins enabled. /etc/telegraf/telegraf.d/1-company-output-plugin.conf (This file has valid outputs.<pluginname> plugin). /etc/telegraf/telegraf.d/telegraf-additional-inputs-plugins.conf (this file has additional inputs.<pluginname>

Error: __autoload() is deprecated, use spl_autoload_register() instead

帅比萌擦擦* 提交于 2021-02-10 11:58:41
问题 I am facing a PHP error on live server. I believe it is a version issue. The error is included below and occurs in the config.php file:- ERROR: __autoload() is deprecated, use spl_autoload_register() instead. Code snippet from config.php file if (!function_exists('__autoload')) { function __autoload($class) { if (strpos($class, 'Auth_Controller') === 0) { @include_once( APPPATH . 'core/' . $class . EXT ); } if (strpos($class, 'Rest_Controller') === 0) { @include_once( APPPATH . 'core/' .

Rendering Error with Devise and Mobylette

不羁岁月 提交于 2021-02-08 06:51:20
问题 I am using Mobylette with Devise on my Rails 4 app. When I try to sign up, sign in, or reset my password on my mobile device I get this error: ActionController::MissingRenderer (No renderer defined for format: mobile) Has anyone else had this issue? I've tried setting up a fallback chain mobylette_config do |config| config[:fallback_chains] = { mobile: [:mobile, :html] } end and adding this to the devise initializer config.navigational_formats = ['*/*', :html, :mobile] But continue to get the

ConfigParser - print config.sections() returns []

99封情书 提交于 2021-02-08 06:48:52
问题 I'm trying to use a ConfigParser module to parse an *.ini file. The problem is that when I try to print sections or whatever, it returns empty list [] . config.ini [SERVER] host=localhost port=9999 max_clients=5 [REGULAR_EXPRESSIONS] regular_expressions_file_path=commands/commands_dict config.py # -*- coding: utf-8 -*- import ConfigParser config = ConfigParser.SafeConfigParser() config.read("config.ini") print config.sections() [] Do you know where is the problem? EDIT: Here is a screen of my

ConfigParser - print config.sections() returns []

人盡茶涼 提交于 2021-02-08 06:48:52
问题 I'm trying to use a ConfigParser module to parse an *.ini file. The problem is that when I try to print sections or whatever, it returns empty list [] . config.ini [SERVER] host=localhost port=9999 max_clients=5 [REGULAR_EXPRESSIONS] regular_expressions_file_path=commands/commands_dict config.py # -*- coding: utf-8 -*- import ConfigParser config = ConfigParser.SafeConfigParser() config.read("config.ini") print config.sections() [] Do you know where is the problem? EDIT: Here is a screen of my

Ubuntu Apache2 local virtual hosts url not found

别来无恙 提交于 2021-02-08 04:01:51
问题 I am setting up my laptop for single-user development of multiple sites using the LAMP stack on Ubuntu 16.10 with virtual hosts for the different sites, and name-based virtual hosts. I have tried various combinations of config settings, but I cannot load a site from the Browser, I get "the requested URL was not found on this server." Here are relevant code snippets from relevant config files: Ports.conf: Listen 8000 apache2.conf: NameVirtualHost *:8000 ServerName localhost ... .../sites

Ubuntu Apache2 local virtual hosts url not found

给你一囗甜甜゛ 提交于 2021-02-08 04:01:16
问题 I am setting up my laptop for single-user development of multiple sites using the LAMP stack on Ubuntu 16.10 with virtual hosts for the different sites, and name-based virtual hosts. I have tried various combinations of config settings, but I cannot load a site from the Browser, I get "the requested URL was not found on this server." Here are relevant code snippets from relevant config files: Ports.conf: Listen 8000 apache2.conf: NameVirtualHost *:8000 ServerName localhost ... .../sites

Ubuntu Apache2 local virtual hosts url not found

隐身守侯 提交于 2021-02-08 04:01:09
问题 I am setting up my laptop for single-user development of multiple sites using the LAMP stack on Ubuntu 16.10 with virtual hosts for the different sites, and name-based virtual hosts. I have tried various combinations of config settings, but I cannot load a site from the Browser, I get "the requested URL was not found on this server." Here are relevant code snippets from relevant config files: Ports.conf: Listen 8000 apache2.conf: NameVirtualHost *:8000 ServerName localhost ... .../sites