INNER CODE UNIT · Python
pos
crocs-muni/JCAlgTest · AlgTest_Process/cplc.py:264
if pos == -1:
pos = filenameshort.find('_3b')
if pos == -1:
pos = filenameshort.find('_3B')
values['CardName'] = filenameshort[:pos]
values['CardName'] = values['CardName'].replace('_', ' ')
files_with_cplc[filename] = values
else:
files_without_cplc.append(filenameshort)
#%%
# Pick suitable seed so that different lines in graph are rendered with different colors/types (needs manual testing)
random.seed(10)