We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c5c5e7 commit c725058Copy full SHA for c725058
batch_iv_analysis/ivAnalyzer.py
@@ -376,7 +376,11 @@ def _loadFile(fullPath):
376
ret.Impp = pixel.attrs['Impp']
377
378
# this is all the i-v data
379
- iv_data = pixel['all_measurements']
+ if 'all_measurements' in pixel:
380
+ iv_data = pixel['all_measurements']
381
+ else:
382
+ print('WARNING: Could not find any data in {:}'.format(fileName), file = logMessages)
383
+ return
384
385
if 'V_oc dwell' in iv_data.attrs:
386
ret.ssVoc = iv_data[iv_data.attrs['V_oc dwell']]
0 commit comments