-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #185 from ehenneken/record_update_diff
calculate updated record diff in backend
- Loading branch information
Showing
5 changed files
with
43 additions
and
83 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,79 +1,4 @@ | ||
# -*- coding: utf-8 -*- | ||
data = { | ||
"origin": "user_submission", | ||
"g-recaptcha-response": "correct_response", | ||
"_subject": "New Record", | ||
"original": { | ||
"entryType": "new", | ||
"name": "", | ||
"email": "", | ||
"collection": [ | ||
"astronomy" | ||
], | ||
"bibcode": "", | ||
"title": "", | ||
"authors": [ | ||
|
||
], | ||
"publication": "", | ||
"publicationDate": "", | ||
"urls": [ | ||
{ | ||
"value": "" | ||
} | ||
], | ||
"abstract": "", | ||
"keywords": [ | ||
{ | ||
"value": "" | ||
} | ||
], | ||
"references": [ | ||
{ | ||
"value": "" | ||
} | ||
], | ||
"comments": "", | ||
"recaptcha": "" | ||
}, | ||
"new": { | ||
"collection": [ | ||
"astronomy" | ||
], | ||
"bibcode": "", | ||
"title": "test", | ||
"authors": [ | ||
{ | ||
"id": "Shekh, S. H._0", | ||
"position": 0, | ||
"name": "Shekh, S. H.", | ||
"aff": "Department of Mathematics, S. P. M. Science and Gilani Arts Commerece College Ghatanji, Maharashtra 445301, India", | ||
"orcid": "" | ||
}, | ||
{ | ||
"id": "Shekh, S. H._0", | ||
"position": 0, | ||
"name": "Foo, Bar", | ||
"aff": "Department of Mathematics, S. P. M. Science and Gilani Arts Commerece College Ghatanji, Maharashtra 445301, India", | ||
"orcid": "" | ||
}, | ||
], | ||
"publication": "test", | ||
"publicationDate": "2020-01", | ||
"urls": [ | ||
{ | ||
"type": "none", | ||
"value": "" | ||
} | ||
], | ||
"abstract": "Present analysis dedicated to the dynamical investigation of anisotropic dark energy LRS Bianchi type-I cosmological model in the context of modified gravity in which Langrangian be the arbitrary function of Ricci scalar and Gouss-Bonnet invariant say f(R, G) gravity in the way of anisotropic fluid. The classification of the field equations towards f(R , G) =f<SUB>0</SUB>R<SUP>m</SUP><SUP>G 1 - m</SUP> make available that the model is purely accelerating corresponds to 0 ~ q ~ - 1 . We govern the features of the derived cosmological model in view of the hybrid law inflation in bounce form (which involve power and de-Sitter cosmology) for the average scale factor. Also discussed the singularity of the model with the help of curvature of the model. It is observed that the model is fully engaged with both matter which exist initially for short expansion and dark energy dominated era and rests existing in quintessence dominated era and for sufficiently large time derived model forecasts that the anisotropy of the model will damp out and the Universe will turn out to be isotropic one and also observed that for quintessence dominated era the temperature and entropy density of anticipated model are positive definite along with some physical and kinematical parameters of the bounce model is also discussed in details.", | ||
"keywords": [], | ||
"references": [], | ||
"comments": "test" | ||
}, | ||
"name": "Tim Hostetler", | ||
"email": "twhostetler0@gmail.com", | ||
"diff": "" | ||
} | ||
data = {u'origin': u'user_submission', u'g-recaptcha-response': u'correct_response', u'email': u'cgrant@cfa.harvard.edu', u'_subject': u'New Record', u'diff': u'', u'new': {u'bibcode': u'2020DPS....5241201D', u'publication': u'AAS Division of Planetary Science meeting #52, id. 412.01. Bulletin of the American Astronomical Society, Vol. 52, No. 6 e-id 2020n6i412p01', u'title': u'tittle', u'abstract': u'wonderful new abstract', u'comments': u'user comments', u'collection': [u'astronomy'], u'affiliation': [u'KinetX Aerospace, Inc., Greenbelt, MD', u'IOTA, Greenbelt, MD', u'Southwest Research Institute, Boulder, CO', u'IOTA, Greenbelt, MD', u'IOTA, Murrumbateman', u'JPL, Pasadena, CA', u'JPL, Pasadena, CA', u'Planetary Exploration Res. Center, Chiba Inst. of Technology, Chiba Japan', u'CRAAG, Algiers Observatory, Algiers Algeria, MD'], u'references': [], u'publicationDate': u'2020-10-00', u'urls': [], u'authors': [u'Dunham, D.', u'Dunham, J.', u'Buie, M.', u'Preston, S.', u'Herald, D.', u'Farnocchia, D.', u'Giorgini, J.', u'Arai, T.', u'Aissa, B.'], u'keywords': [], u'orcid': [u'', u'', u'', u'', u'', u'', u'', u'', u'']}, u'original': {u'bibcode': u'2020DPS....5241201D', u'publication': u'AAS Division of Planetary Science meeting #52, id. 412.01. Bulletin of the American Astronomical Society, Vol. 52, No. 6 e-id 2020n6i412p01', u'title': u'tittle', u'abstract': u'wonderful new abstract', u'comments': u'user comments', u'collection': [u'astronomy'], u'affiliation': [u'KinetX Aerospace, Inc., Greenbelt, MD', u'IOTA, Greenbelt, MD', u'Southwest Research Institute, Boulder, CO', u'IOTA, Greenbelt, MD', u'IOTA, Murrumbateman', u'JPL, Pasadena, CA', u'JPL, Pasadena, CA', u'Planetary Exploration Res. Center, Chiba Inst. of Technology, Chiba Japan', u'CRAAG, Algiers Observatory, Algiers Algeria, MD'], u'references': [], u'publicationDate': u'2020-10-00', u'urls': [], u'authors': [u'Dunham, D.', u'Dunham, J.', u'Buie, M.', u'Preston, S.', u'Herald, D.', u'Farnocchia, D.', u'Giorgini, J.', u'Arai, T.', u'Aissa, B.'], u'keywords': [], u'orcid': [u'', u'', u'', u'', u'', u'', u'', u'', u'']}, u'name': u'Edw\xeen H\xe8nn\xebk\u0119n'} | ||
|
||
response = 'From: Tim Hostetler\nAddress: twhostetler0@gmail.com\n\nAbstract data for new record. Summary:\n\nCollection: astronomy\n\n%R \n%T test\n%A Shekh, S. H.;Foo, Bar\n%D 2020-01\n%J test\n%B Present analysis dedicated to the dynamical investigation of anisotropic dark energy LRS Bianchi type-I cosmological model in the context of modified gravity in which Langrangian be the arbitrary function of Ricci scalar and Gouss-Bonnet invariant say f(R, G) gravity in the way of anisotropic fluid. The classification of the field equations towards f(R , G) =f<SUB>0</SUB>R<SUP>m</SUP><SUP>G 1 - m</SUP> make available that the model is purely accelerating corresponds to 0 ~ q ~ - 1 . We govern the features of the derived cosmological model in view of the hybrid law inflation in bounce form (which involve power and de-Sitter cosmology) for the average scale factor. Also discussed the singularity of the model with the help of curvature of the model. It is observed that the model is fully engaged with both matter which exist initially for short expansion and dark energy dominated era and rests existing in quintessence dominated era and for sufficiently large time derived model forecasts that the anisotropy of the model will damp out and the Universe will turn out to be isotropic one and also observed that for quintessence dominated era the temperature and entropy density of anticipated model are positive definite along with some physical and kinematical parameters of the bounce model is also discussed in details.' | ||
response = u'From: Edw\xeen H\xe8nn\xebk\u0119n\nAddress: cgrant@cfa.harvard.edu\n\nAbstract data for new record. Summary:\n\nCollection: astronomy\n\n%R 2020DPS....5241201D\n%T tittle\n%A Dunham, D.;Dunham, J.;Buie, M.;Preston, S.;Herald, D.;Farnocchia, D.;Giorgini, J.;Arai, T.;Aissa, B.\n%D 2020-10-00\n%J AAS Division of Planetary Science meeting #52, id. 412.01. Bulletin of the American Astronomical Society, Vol. 52, No. 6 e-id 2020n6i412p01\n%B wonderful new abstract' |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,3 +23,4 @@ alembic==0.8.1 | |
redis==2.10.5 | ||
flask-consulate==0.1.2 | ||
email-validator==1.1.0 | ||
jsondiff==1.2.0 |