Pairs includes constraints that are not relevant (MUX-related) and have distal references which are undesirable for system 4.
Question outstanding: should we add pairs that are compatible with other systems, or just include a warning in cmlreaders about pairs.json being system 3 specific?
|
def read_jacksheet(self,jacksheet): |
|
nums_to_labels = {} |
|
labels_to_nums = {} |
|
with open(jacksheet) as jack_file: |
|
for line in jack_file.read().splitlines(): |
|
num,label = line.strip().split() |
|
num=int(num) |
|
label=label |
|
nums_to_labels[num] = label |
|
labels_to_nums[label] = num |
|
self.nums_to_labels = nums_to_labels |
|
self.labels_to_nums = labels_to_nums |
|
if self.reference_scheme == 'bipolar': |
|
self.pairs_frame = bptools.pairs.create_pairs(jacksheet) |
Pairs includes constraints that are not relevant (MUX-related) and have distal references which are undesirable for system 4.
Question outstanding: should we add pairs that are compatible with other systems, or just include a warning in cmlreaders about pairs.json being system 3 specific?
event_creation/event_creation/submission/neurorad_tasks.py
Lines 240 to 253 in dd84321