Skip to content

Commit ebf33ee

Browse files
Fix NameError: global name 'conf' is not defined
1 parent fde523d commit ebf33ee

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

plasma/preprocessor/preprocess.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ def preprocess_from_files(self,shot_files,use_shots):
9797
print('Omitted {} shots of {} total.'.format(len(shot_list_picked) - len(used_shots),len(shot_list_picked)))
9898
print('{}/{} disruptive shots'.format(used_shots.num_disruptive(),len(used_shots)))
9999
if len(used_shots) == 0:
100-
print("WARNING: All shots were omitted, please ensure raw data is complete and available at {}.".format(conf['paths']['signal_prepath']))
100+
print("WARNING: All shots were omitted, please ensure raw data is complete and available at {}.".format(self.conf['paths']['signal_prepath']))
101101
return used_shots
102102

103103
def preprocess_single_file(self,shot):

0 commit comments

Comments
 (0)