Skip to content
Snippets Groups Projects
Commit 0cce040f authored by Christopher Randolph Rhodes's avatar Christopher Randolph Rhodes
Browse files

Repaired assumed prefix of serialized ROI set

parent ce71653e
No related branches found
No related tags found
No related merge requests found
......@@ -954,7 +954,7 @@ class RoiSet(object):
return interm
def serialize(self, where: Path, prefix='') -> dict:
def serialize(self, where: Path, prefix='roiset') -> dict:
"""
Export the minimal information needed to recreate RoiSet object, i.e. CSV data file and tight patch masks
:param where: path of directory in which to write files
......
......@@ -112,8 +112,7 @@ def setup_test_data():
raise Exception('Could not find test data, try setting environmental variable UNITTEST_DATA_ROOT.')
meta['root'] = Path(root)
op_ev = os.environ.get('UNITTEST_OUTPUT', (meta['root'] / 'test_output'))
meta['output_path'] = Path(op_ev)
meta['output_path'] = meta['root'] / 'test_output'
meta['output_path'].mkdir(parents=True, exist_ok=True)
# resolve relative paths
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment