Skip to content

Fix import error of md5_file in CifData and UpfData#2438

Merged
sphuber merged 2 commits into
aiidateam:provenance_redesignfrom
sphuber:fix_2437_import_errors_md5_file_in_upf_cif_data
Feb 8, 2019
Merged

Fix import error of md5_file in CifData and UpfData#2438
sphuber merged 2 commits into
aiidateam:provenance_redesignfrom
sphuber:fix_2437_import_errors_md5_file_in_upf_cif_data

Conversation

@sphuber
Copy link
Copy Markdown
Contributor

@sphuber sphuber commented Feb 1, 2019

Fixes #2437

The recent move of md5_file from aiida.common.utils to
aiida.common.files was not caught in some of the methods of these
classes because it imported the whole module aiida.common.utils and
used the function as aiida.common.utils.md5_file.

@coveralls
Copy link
Copy Markdown

coveralls commented Feb 1, 2019

Coverage Status

Coverage increased (+1.3%) to 69.751% when pulling 4597365 on sphuber:fix_2437_import_errors_md5_file_in_upf_cif_data into 8f5d0b6 on aiidateam:provenance_redesign.

The recent move of `md5_file` from `aiida.common.utils` to
`aiida.common.files` was not caught in some of the methods of these
classes because it imported the whole module `aiida.common.utils` and
used the function as `aiida.common.utils.md5_file`.
@sphuber sphuber force-pushed the fix_2437_import_errors_md5_file_in_upf_cif_data branch from c39bece to cb14d01 Compare February 8, 2019 08:07
@sphuber sphuber requested a review from giovannipizzi February 8, 2019 08:11
@sphuber sphuber merged commit c121070 into aiidateam:provenance_redesign Feb 8, 2019
@sphuber sphuber deleted the fix_2437_import_errors_md5_file_in_upf_cif_data branch February 8, 2019 09:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants