diff --git a/saltproc/serpent_depcode.py b/saltproc/serpent_depcode.py index a1217a1a0..fc42f20a6 100644 --- a/saltproc/serpent_depcode.py +++ b/saltproc/serpent_depcode.py @@ -128,7 +128,7 @@ def create_runtime_matfile(self, file_lines): Path.mkdir(Path(self.runtime_matfile).parents[0], exist_ok=True) # Get material cards - file_lines = read_plaintext_file(abs_src_matfile) + file_lines = self.read_plaintext_file(abs_src_matfile) self.get_material_data(file_lines) # Create file with path for SaltProc rewritable iterative material file