Skip to content

Commit 79683e0

Browse files
Remove extra list cast
1 parent 17acf70 commit 79683e0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

causal_testing/json_front/json_class.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ def _json_parse(self):
137137
df = pd.read_csv(data_file, header=0)
138138
self.data.append(df)
139139
self.data = pd.concat(self.data)
140+
140141
def _populate_metas(self):
141142
"""
142143
Populate data with meta-variable values and add distributions to Causal Testing Framework Variables
@@ -286,7 +287,7 @@ class JsonClassPaths:
286287
def __init__(self, json_path: str, dag_path: str, data_paths: str):
287288
self.json_path = Path(json_path)
288289
self.dag_path = Path(dag_path)
289-
self.data_paths = [Path(path) for path in [data_paths]]
290+
self.data_paths = [Path(path) for path in data_paths]
290291

291292

292293
@dataclass()

0 commit comments

Comments
 (0)