Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.
Sign upWork on tests #1133
Conversation
zuphilip
added some commits
Sep 2, 2016
dstillman
reviewed
Sep 2, 2016
@@ -79,3 +79,4 @@ f880bf79-d42f-4337-b0d2-7a7de4a48b7d # X-OPAC - no more instances of this lib ca | |||
0863b8ec-e717-4b6d-9e35-0b2db2ac6b0f # Physical Society of Japan - journals moved to IOP or Atypon system | |||
63c25c45-6257-4985-9169-35b785a2995e # InfoTrac OneFile - merged into Galegroup (see #482) | |||
79f6f9ed-537a-4d4f-8270-c4fbaafdf327 # Emerald; covered by Atypon | |||
9d822257-2eec-4674-b6d0-2504f54c8890 # African Journals Online; covered by Open Journal Systems |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
zuphilip
Sep 2, 2016
•
Author
Collaborator
Done. Thanks.
(I can squash these these two commits together after the complete review.)
zuphilip
added some commits
Sep 2, 2016
zuphilip
reviewed
Sep 3, 2016
@@ -1,6 +1,6 @@ | |||
{ | |||
"translatorID": "34B1E0EA-FD02-4069-BAE4-ED4D98674A5E", | |||
"label": "allAfrica.com", | |||
"label": "AllAfrica", |
This comment has been minimized.
This comment has been minimized.
zuphilip
Sep 3, 2016
Author
Collaborator
The label should match the filename, otherwise Scaffolds tries to overwrite this every time.
zuphilip
reviewed
Sep 3, 2016
}, | ||
{ | ||
"type": "web", | ||
"url": "http://www.ajol.info/index.php/thrb/article/view/63347", |
This comment has been minimized.
This comment has been minimized.
zuphilip
added some commits
Sep 3, 2016
This comment has been minimized.
This comment has been minimized.
Let me know when you want me to look and/or merge. So far, this is looking great |
This comment has been minimized.
This comment has been minimized.
Well, I think now is a good point for a review. I am through all translators starting with I would suggest to have multiple commits, but I can rebase them (after your review), such that all things related to African Journals Online are in one commit. What do you think? |
This comment has been minimized.
This comment has been minimized.
In the past I often put commits with lots of minor changes and test updates in a single commit. Any strong reason to split them? |
adam3smith
reviewed
Sep 3, 2016
} | ||
/*multiples are currently broken | ||
else if (url.match(/jour(nals|search)/)) { | ||
} else if (url.match(/jour(nals|search)/)) { |
This comment has been minimized.
This comment has been minimized.
adam3smith
Sep 3, 2016
Collaborator
the regex looks suspect -- would it really be joursearch ? Couldn't get it to work with the site
This comment has been minimized.
This comment has been minimized.
zuphilip
Sep 3, 2016
Author
Collaborator
The same name is used several lines below in the doWeb
. However, currently the search inside a journal directs to another website and this service is not available at the moment. I will rewrite this part to use also getSearchResults
-function and then we can check on that. Give me just some minutes...
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
That works as well. I guess that all "fix and update tests"-commits are similar and could be merged together. Maybe some changes are larger than a simple update, then this could be mentioned separately... |
adam3smith
reviewed
Sep 4, 2016
@@ -72,6 +72,7 @@ var testCases = [ | |||
"items": [ | |||
{ | |||
"itemType": "journalArticle", | |||
"title": "Denosumab versus placebo as adjuvant treatment for women with early-stage breast cancer at high risk of disease recurrence (D-CARE): An international, placebo-controlled, randomized, double-blind phase III clinical trial.", |
This comment has been minimized.
This comment has been minimized.
adam3smith
Sep 4, 2016
Collaborator
it's in the old title, too, but let's remove the period at the end ot the title
This comment has been minimized.
This comment has been minimized.
adam3smith
reviewed
Sep 4, 2016
@@ -264,84 +264,6 @@ function scrape(doc, url, extras) { | |||
var testCases = [ | |||
{ | |||
"type": "web", | |||
"url": "http://www.esajournals.org/doi/abs/10.1890/09-1234.1", |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
adam3smith
reviewed
Sep 4, 2016
@@ -619,13 +541,13 @@ var testCases = [ | |||
"date": "August 1, 2001", | |||
"DOI": "10.1146/annurev.matsci.31.1.323", | |||
"ISSN": "1531-7331", | |||
"abstractNote": "▪ Abstract A two-part review of research concerning block copolymer thin films is presented. The first section summarizes experimental and theoretical studies of the fundamental physics of these systems, concentrating upon the forces that govern film morphology. The role of film thickness and surface energetics on the morphology of compositionally symmetric, amorphous diblock copolymer films is emphasized, including considerations of boundary condition symmetry, so-called hybrid structures, and surface chemical expression. Discussions of compositionally asymmetric systems and emerging research areas, e.g., liquid-crystalline and A-B-C triblock systems, are also included. In the second section, technological applications of block copolymer films, e.g., as lithographic masks and photonic materials, are considered. Particular attention is paid to means by which microphase domain order and orientation can be controlled, including exploitation of thickness and surface effects, the application of external fields, and the use of patterned substrates.", | |||
"abstractNote": "▪ Abstract A two-part review of research concerning block copolymer thin films is presented. The first section summarizes experimental and theoretical studies of the fundamental physics of these systems, concentrating upon the forces that govern film morphology. The role of film thickness and surface energetics on the morphology of compositionally symmetric, amorphous diblock copolymer films is emphasized, including considerations of boundary condition symmetry, so-called hybrid structures, and surface chemical expression. Discussions of compositionally asymmetric systems and emerging research areas, e.g., liquid-crystalline and A-B-C triblock systems, are also included. In the second section, technological applications of block copolymer films, e.g., as lithographic masks and photonic materials, are considered. Particular attention is paid to means by which microphase domain order and orientation can be controlled, including exploitation of thickness and surface effects, the application of external fields, and the use of patterned substrates.", |
This comment has been minimized.
This comment has been minimized.
adam3smith
Sep 4, 2016
Collaborator
we could consider cleaning this up -- but given it's a generic translator and the square before the abstract is quite weird, I'll leave that up to you.
This comment has been minimized.
This comment has been minimized.
adam3smith
merged commit e102b02
into
zotero:master
Sep 6, 2016
This comment has been minimized.
This comment has been minimized.
Thanks! -- 1 done, 25 letters to go ;) |
zuphilip
deleted the
zuphilip:work-on-tests
branch
Sep 6, 2016
This comment has been minimized.
This comment has been minimized.
|
zuphilip commentedSep 2, 2016
No description provided.