@@ -349,7 +349,7 @@ def get_snapshot_calculation_output(self, snapshot_number):
349349 snapshot_number
350350 ].calculation_output
351351
352- def calculate_temporary_inputs (self , snapshot : Snapshot ):
352+ def __calculate_temporary_inputs (self , snapshot : Snapshot ):
353353 if snapshot .temporary_input_file is not None :
354354 if not os .path .isfile (snapshot .temporary_input_file ):
355355 snapshot .temporary_input_file = None
@@ -632,7 +632,7 @@ def __load_data(self, function, data_type):
632632 # If the input for the descriptors is actually a JSON
633633 # file then we need to calculate the descriptors.
634634 if snapshot .snapshot_type == "json+numpy" :
635- self .calculate_temporary_inputs (snapshot )
635+ self .__calculate_temporary_inputs (snapshot )
636636 file = snapshot .temporary_input_file
637637 else :
638638 file = os .path .join (
@@ -763,14 +763,14 @@ def __build_datasets(self):
763763 # snapshot types, this has to be done here.
764764 if snapshot .snapshot_function == "va" :
765765 if snapshot .snapshot_type == "json+numpy" :
766- self .calculate_temporary_inputs (snapshot )
766+ self .__calculate_temporary_inputs (snapshot )
767767
768768 self .validation_data_sets [0 ].add_snapshot_to_dataset (
769769 snapshot
770770 )
771771 if snapshot .snapshot_function == "te" :
772772 if snapshot .snapshot_type == "json+numpy" :
773- self .calculate_temporary_inputs (snapshot )
773+ self .__calculate_temporary_inputs (snapshot )
774774
775775 self .test_data_sets [0 ].add_snapshot_to_dataset (snapshot )
776776
@@ -930,7 +930,7 @@ def __parametrize_scalers(self):
930930 )
931931 )
932932 elif snapshot .snapshot_type == "json+numpy" :
933- self .calculate_temporary_inputs (snapshot )
933+ self .__calculate_temporary_inputs (snapshot )
934934 tmp = self .descriptor_calculator .read_from_numpy_file (
935935 snapshot .temporary_input_file ,
936936 units = snapshot .input_units ,
@@ -1030,7 +1030,7 @@ def __parametrized_load_training_data(self):
10301030 snapshot .snapshot_function == "tr"
10311031 and snapshot .snapshot_type == "json+numpy"
10321032 ):
1033- self .calculate_temporary_inputs (snapshot )
1033+ self .__calculate_temporary_inputs (snapshot )
10341034 else :
10351035 printout (
10361036 "Data scalers already initilized, loading data to RAM." ,
0 commit comments