Skip to content

Commit ee6a907

Browse files
committed
include _iblrig_taskSettings.raw.json, don't unlink original jsonable after conversion to parquet
1 parent 78000e4 commit ee6a907

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

iblrig_custom_tasks/samuel_tonotopicMapping/task.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,6 @@ def _run(self):
283283
data = create_dataframe(path_jsonable)
284284
data.to_parquet(path_parquet)
285285
assert path_parquet.exists()
286-
path_jsonable.unlink()
287286

288287

289288
@validate_call

projects/samuel_tonotopicMapping.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,10 @@ class TonotopicMappingBpod(BehaviourTask):
2121
@property
2222
def signature(self):
2323
signature = super().signature
24-
signature['input_files'] = [('_iblrig_taskData.raw.*', self.collection, True, True)]
24+
signature['input_files'] = [
25+
('_iblrig_taskData.raw.pqt', self.collection, True, True),
26+
('_iblrig_taskSettings.raw.json', self.collection, True, True),
27+
]
2528
signature['output_files'] = [('_sp_tonotopic.trials.pqt', self.output_collection, True)]
2629
return signature
2730

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "project_extraction"
7-
version = "0.9.0"
7+
version = "0.9.1"
88
description = "Custom extractors for satellite tasks"
99
dynamic = [ "readme" ]
1010
keywords = [ "IBL", "neuro-science" ]

0 commit comments

Comments
 (0)