Commits

Johannes Köster committed 48d8d85

Changed keyword from config to configfile (lee conflict potential).

Comments (0)

Files changed (3)

snakemake/parser.py

     pass
 
 
-class Config(GlobalKeywordState):
+class Configfile(GlobalKeywordState):
     pass
 
 
     subautomata = dict(
         include=Include,
         workdir=Workdir,
-        config=Config,
+        configfile=Configfile,
         ruleorder=Ruleorder,
         rule=Rule,
         subworkflow=Subworkflow,

snakemake/workflow.py

                 os.makedirs(workdir)
             self._workdir = workdir
 
-    def config(self, jsonpath):
+    def configfile(self, jsonpath):
         """ Update the global config with the given dictionary. """
         global config
         try:

tests/test_config/Snakefile

 
-config: "test.json"
+configfile: "test.json"
 
 
 rule: