-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
First Implemetation of export cache functionality #29
Merged
greschd
merged 49 commits into
aiidateam:export_cache
from
broeder-j:implement_caching_wc
Apr 3, 2020
Merged
Changes from 1 commit
Commits
Show all changes
49 commits
Select commit
Hold shift + click to select a range
60013fb
Improve installation instructions.
f110204
Merge branch 'develop' into improve_docs
greschd 4535a2c
Add documentation build to CI
aa4fa60
Merge pull request #24 from greschd/add_doc_to_ci
greschd 4aa540d
Merge branch 'develop' into improve_docs
greschd 5541e9e
Merge pull request #23 from greschd/improve_docs
greschd 5ea2d75
allowed for expressions in ingnore file lists, implements issue #25, …
broeder-j 6d6f594
changed implemenation
broeder-j ecbaa7e
Merge pull request #26 from broeder-j/implement_feature_issue_25
greschd cbe5168
uncomplete work and started to implement export_cache
broeder-j 698635b
first pseudo code version of a fixture to run with cashing, I commit …
broeder-j b7c003c
bug fixes of run_with_cache fixture and registration on module level
broeder-j 1349769
further bug fixes of run_with_cache fixture implemented a hash creati…
broeder-j 8f5e9a8
Automatically store inputs before hashing
PhilippRue 853bfed
Merge branch 'develop' of https://github.com/aiidateam/aiida-testing …
broeder-j a47c0de
moved generate diff input fixture to conftest, for usage in other tests
broeder-j 066195f
splitted fixture with_cache into several, rekursion for nested inputs…
broeder-j 5eeb804
removed rekursion out of hash_process, we now unnest the dictionary b…
broeder-j 38f0763
added basic tests for export_cache, run with fixture is not working, …
broeder-j 8451cbb
small bugfixes in export_cache fixtures and import all feature
broeder-j ead6e33
update readme
ltalirz 3dbc01e
Merge pull request #27 from ltalirz/fix-readme
greschd d66d3b7
added two fixtures one for a with environment with caching and one to…
broeder-j af3ff67
start documenting mock_code
ltalirz c85b796
Merge branch 'develop' into document-mock-code
ltalirz 891fd11
added cache files, added further comments to the code
broeder-j 35ebe9d
Merge pull request #28 from ltalirz/document-mock-code
greschd 699d02f
pre commit changes, prettify code
broeder-j 4752de8
revertet addition of session aiida fixtures, should not be part of th…
broeder-j 346cb46
Merge branch 'develop' of https://github.com/aiidateam/aiida-testing …
broeder-j 25efcaf
further code prettification
broeder-j 97cc9c6
type def and ignore for mypy, reverted previous change, excluded aiid…
broeder-j e0f078b
code changes for linter
broeder-j 6140216
figthing the linter for now, excluded Codes again from rehash
broeder-j 42510e1
monkeypatched more aiidatype get_objects_to_hash since they included …
broeder-j 299eedf
switch to MIT license
ltalirz 9d88c9e
Merge pull request #31 from ltalirz/fix-license
greschd 0c953de
Merge branch 'develop' into implement_caching_wc
greschd 58537f2
faster entry point loading for console script
ltalirz 9247c3d
Merge pull request #34 from ltalirz/fast-entrypoints
greschd 35e823d
added processbuildernamespace as allowed type for input of certain f…
broeder-j e7bc252
removed os path operations, now with pathlib. included overwrite func…
broeder-j f8c623a
Merge branch 'implement_caching_wc' of github.com:broeder-j/aiida-tes…
broeder-j 6c4e03b
Merge branch 'develop' into implement_caching_wc
broeder-j 1c7866e
Merge branch 'implement_caching_wc' of github.com:broeder-j/aiida-tes…
broeder-j 2249eb5
Fix abspath requirement in run_with_cache fixture
PhilippRue d8d72d9
Fix double spacing
PhilippRue bea61f0
add cli options for config file management (#33)
ltalirz fa44c3b
Merge branch 'develop' into implement_caching_wc
greschd File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if this is not an absolute path
export_cache
fails because there this is checkedThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should check that it is an absolute path instead of just making it absolute. Otherwise the test will depend on which directory they are run from.
As much as possible, e.g. running
pytest
from the root directory should do the same as e.g.cd tests; pytest
.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh yes, that slipped my mind. so how about we make this a check only and get rid of the default value. Then the users would be required to set the paths to executables, output directory etc. themselves and we wouldn't be hiding this in the fixture.
I guess this would be cleaner.