-
Notifications
You must be signed in to change notification settings - Fork 7
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
Associated Works for Zenodo Records #48
Merged
Merged
Changes from all commits
Commits
Show all changes
83 commits
Select commit
Hold shift + click to select a range
49ddaed
Initial functions for determining zenodo all versions doi.
tjacovich d54afae
added all version dois to fetch_all_versions_doi return
tjacovich adb2119
Added call to doi.fetch_all_versions_doi() in task_process_new_citation.
tjacovich 54cf13f
converted output of fetch_alll_versions_doi to dict
tjacovich 32cf1f4
Added initial functions for fetching bibcodes from DataCite metadata.
tjacovich 2ab9aa4
Added exception handling to _fetch_all_versions_doi. Modified calls t…
tjacovich 75de0dc
housekeeping commit
tjacovich e1adaf5
Added error handling for all_versions_doi failure.
tjacovich 123d150
Added initial function for calling associated works from db.
tjacovich 75be1f2
commented additions to tasks.py
tjacovich 966f96a
initial changes to forward.py
tjacovich 11ae8f4
Initial modifications to forward.py and task_output_results
tjacovich ab9e31e
Updated doi.fetch_all_versions to include base doi in versions list. …
tjacovich 8a7723d
updated db_version to db_version_bibcodes. Added new target citation …
tjacovich 24af7b8
updated task_process_updated_associated_works to collect target_citat…
tjacovich 113a327
Updated handling of associated works bibcodes so associated works are…
tjacovich 93a62c6
Moved all_versions_doi check inside parsed_metadata check to avoid si…
tjacovich 9fe905d
added initial alembic revision to include associated works in the pub…
tjacovich e1088de
Updated citation_target models and added upgrade and downgrade path f…
tjacovich 64e986b
Updated db.store_event() to include associated works
tjacovich 9845506
Added associated works to db.update_citation_target_metadata(). Added…
tjacovich 002efb3
moved initial definition of associated_version_bibcodes outside of me…
tjacovich b302397
Fixed error using bibcodes in a function designed to accept dois. Mod…
tjacovich f5bf7c2
quick update to db.py
tjacovich 1410128
Initial modifications to maintenance tasks for associated works.
tjacovich 573a0c0
Updated celery queues in tasks.py. Added to task_maintenance_reevalu…
tjacovich 82b9a2d
More modifications to task_maintenance_reevaluate_associated_works
tjacovich ac61944
Initial additions to test_forward.py for testing expected forwarded m…
tjacovich bfe9e58
Added parser arguments for maintenance evaluate associated works.
tjacovich cf84b95
Initial skeleton for testing task_updated_associated_works in test_ta…
tjacovich 916a759
Fixed indentation error in test_forward.py
tjacovich 2b757ba
merged alembic heads for dealing with github urls and the one defined…
tjacovich be5ee73
Updated solr version in complex testing environment to latest release…
tjacovich ad263a2
Updates to logging in associated works functions. fixed syntax error …
tjacovich ffe7a46
Updates to multiple parts of task.py to deal with updating associated…
tjacovich 95c8ab8
Re-added associated works processing queue. Removed extra print state…
tjacovich 57482dc
Modified processes related to associated works so that both the versi…
tjacovich 4bf4211
Updated readme to include instructions for MAINTENANCE --eval-associa…
tjacovich d142d31
Updates to test_tasks and test_forward
tjacovich 257c64a
Updated tasks.py to better match structure of other tasks. Added unit…
tjacovich 6170fd7
Added unit test for doi.fetch_all_versions_doi
tjacovich fb41994
Added unit tests for forward.py
tjacovich e5ad320
Added unit tests for citation targets with associated works.
tjacovich 72cc5d9
Moved task_update_associated_works to process-updated-citation queue.
tjacovich 42ddab1
Fixed bug in _build_nonbib_record that caused only one data_links_row…
tjacovich 5bf7453
Added unit test for task_process_updated_associated_work. Updated tas…
tjacovich d6a9bd0
Added unit test for task_output_results when bibcode_replaced = True.…
tjacovich d8ded76
Minor updated to test_task_output_results_if_bibcode_replaced
tjacovich 75c0b7e
Updated readme to include race condition and additional functionality…
tjacovich 2d06dce
Updated logger text and comments in task_maintenance_reevaluate_assoc…
tjacovich b545f9f
Updated README
tjacovich 7a5e09e
Removed unused 'version' attribute from _extract_key_citation_target_…
tjacovich ae336bb
Added associated_works to task_update_citation and task_maintenance_*
tjacovich b4865ab
Refactored tasks.py to simplify collecting associated works across mu…
tjacovich aba7a67
bugfix: missing app in calls to db.get_citation_target_by_doi()
tjacovich a03f6e1
fixed call to attribute 'associated_works'
tjacovich 5b7016f
Updated unit tests to reflect changes to delete and update tasks. Cha…
tjacovich e1d137d
Removed old code task_process_new_citation.
tjacovich f7c006a
Bugfix: undefined variable in maintenance reevaluate.
tjacovich a559635
Removed extra function declaration from rebase. Bumped astropy to 5.0…
tjacovich 1ada51b
Added intitial skeleton of test for alembic.
tjacovich f3e2385
merged alembic revisions for manual_curation and associated_works.
tjacovich c8fd8cf
Added test for alembic head to unittests.
tjacovich d2adab9
Updated name of alembic revision
tjacovich 20effa0
Updating merged maintenance tasks to handle associated works.
tjacovich 24d0faf
Updates to associated works db functions and tasks. Removed self refe…
tjacovich e7c276f
incremental update
tjacovich c7b396b
Updated ASSOCIATED titles to align with Associated Works RFC.
tjacovich 408d8eb
Updated unittests for forward.py
tjacovich 20dcc6a
Modified citation update functions to remove self from associated wor…
tjacovich e685f54
Fixed issue with update citations when associated_works is None
tjacovich 1c06ab8
Updates in response to PR comments. Changed all_doi to concept_doi. R…
tjacovich 9900143
Merged updates to readme into associated_works
tjacovich 84af1f7
Updates to readme.
tjacovich 1f2a11a
Updated formatting to better align with acutter formatting.
tjacovich a0b7129
Fixed = formatting
tjacovich 8ec7d8c
Merged upstream bugfix for manual curation into associate_works featu…
tjacovich ebd087f
modified curated_metadata alembic revision to resolve conflict with a…
tjacovich 9451ba3
Merged PR #53
tjacovich f5d9956
Created initial merged alembic revision.
tjacovich 19e5a3e
Modified alembic revisions to fix upgrade conflict with associated wo…
tjacovich 0b13173
Added associated works field to populate_bibcode_columns(). Updated u…
tjacovich c87c7c5
Merge branch 'master' into associated_works to keep branch up to date.
tjacovich 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
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
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
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
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
Oops, something went wrong.
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.
Let's homogenize spaces before/after equal signs (choose the same style as Roman's cookie cutter tool)
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.
Homogenizing around no space when in function def or calls, but space when assigning to variable.