nes
nes copied to clipboard
hot_spot_map file is not saved (see description)
There’s not an entry in experiment.models get_data_file_dir(instance, filename) to save hot_spot_map. It was introduced the code that solves the issue. Make a test for this and uncomment code.
Code in experiment.models:~1131-1140
elif isinstance(instance, HotSpot):
# directory = path.join(
# 'data_collection_files',
# str(instance.tms_data.subject_of_group.group.experiment.id),
# str(instance.tms_data.subject_of_group.group.id),
# str(instance.tms_data.subject_of_group.subject.id),
# str(instance.tms_data.data_configuration_tree.id if instance.tms_data.data_configuration_tree else 0),
# 'hot_spot_map'
# )