Skip to content

Commit

Permalink
resolve config reading warning
Browse files Browse the repository at this point in the history
  • Loading branch information
mcquin committed Sep 27, 2017
1 parent fafb3da commit 9c7ba43
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/commands/test_command_ingest.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ def test_run(dataset, runner):

config = configparser.ConfigParser()

config.read(config_file)
with open(config_file, "r") as config_fd:
config.read_file(config_fd)

for (k, v) in dict({"cells": "Cells.csv", "cytoplasm": "Cytoplasm.csv", "nuclei": "Nuclei.csv"}).items():
config["filenames"][k] = v
Expand Down

0 comments on commit 9c7ba43

Please sign in to comment.