Skip to content

Commit 4bc3e1e

Browse files
committed
fix for % in column names
1 parent 84a30ed commit 4bc3e1e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

countess/core/config.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def read_config(
5757
) -> PipelineGraph:
5858
"""Reads `filenames` and returns a PipelineGraph"""
5959

60-
cp = ConfigParser()
60+
cp = ConfigParser(interpolation=None)
6161
for filename in filenames:
6262
with open(filename, "r", encoding="utf-8") as fh:
6363
cp.read_file(fh)
@@ -87,7 +87,7 @@ def config_to_graph(cp: ConfigParser, base_dir: str = ".") -> PipelineGraph:
8787

8888
def graph_to_config(pipeline_graph: PipelineGraph, base_dir: str = ".") -> ConfigParser:
8989
pipeline_graph.reset_node_names()
90-
cp = ConfigParser()
90+
cp = ConfigParser(interpolation=None)
9191
for node in pipeline_graph.traverse_nodes():
9292
write_config_node(node, cp, base_dir)
9393
return cp
@@ -103,7 +103,7 @@ def write_config(pipeline_graph: PipelineGraph, filename: str):
103103

104104

105105
def write_config_node_string(node: PipelineNode, base_dir: str = ""):
106-
cp = ConfigParser()
106+
cp = ConfigParser(interpolation=None)
107107
write_config_node(node, cp, base_dir)
108108
buf = io.StringIO()
109109
cp.write(buf)

0 commit comments

Comments
 (0)