diff --git a/electronicparsers/exciting/parser.py b/electronicparsers/exciting/parser.py index ac18789d..a8526d9a 100644 --- a/electronicparsers/exciting/parser.py +++ b/electronicparsers/exciting/parser.py @@ -2638,7 +2638,7 @@ def parse(self, filepath, archive, logger, **kwargs): sec_run.program = Program( name='exciting', version=self.info_parser.get('program_version', '').strip(), - github_commit_hash=self.info_parser.hash_id) + sub_version=self.info_parser.hash_id) # method goes first since reference needed for sec_scc if self._calculation_type == 'gw': diff --git a/tests/test_excitingparser.py b/tests/test_excitingparser.py index a3722af2..1aedbb7e 100644 --- a/tests/test_excitingparser.py +++ b/tests/test_excitingparser.py @@ -83,7 +83,7 @@ def test_strucopt(parser): archive = EntryArchive() parser.parse('tests/data/exciting/GaO_strucopt/INFO.OUT', archive, None) - assert archive.run[0].program.github_commit_hash == '1e47a4bd61d2aa73ef68a31c2f3385676bee2c3a' + assert archive.run[0].program.sub_version == '1e47a4bd61d2aa73ef68a31c2f3385676bee2c3a' sec_systems = archive.run[0].system assert len(sec_systems) == 15