Coverage for test / jalc_processing_test.py: 99%
191 statements
« prev ^ index » next coverage.py v7.13.4, created at 2026-03-25 18:06 +0000
« prev ^ index » next coverage.py v7.13.4, created at 2026-03-25 18:06 +0000
1# SPDX-FileCopyrightText: 2023 Marta Soricetti <marta.soricetti@unibo.it>
2# SPDX-FileCopyrightText: 2023-2026 Arcangelo Massari <arcangelo.massari@unibo.it>
3#
4# SPDX-License-Identifier: ISC
6import os
7import unittest
8import json
10from oc_ds_converter.lib.csvmanager import CSVManager
11from oc_ds_converter.jalc.jalc_processing import JalcProcessing
14BASE = os.path.join('test', 'jalc_processing')
15IOD = os.path.join(BASE, 'iod')
16WANTED_DOIS = os.path.join(BASE, 'wanted_dois.csv')
17WANTED_DOIS_FOLDER = os.path.join(BASE, 'wanted_dois')
18DATA = os.path.join(BASE, 'dois_1011230-jsts172_1.json')
19DATA_DIR = BASE
20MULTIPROCESS_OUTPUT = os.path.join(BASE, 'multi_process_test')
23class TestJalcProcessing(unittest.TestCase):
25 def setUp(self):
26 """Setup comune per i test che include entity dict di esempio"""
27 # Entity dict con autori singoli
28 self.entity_dict_single_author = {
29 "data": {
30 "doi": "10.11178/example.1",
31 "creator_list": [
32 {
33 "sequence": "1",
34 "type": "person",
35 "names": [
36 {
37 "lang": "ja",
38 "last_name": "山田",
39 "first_name": "太郎"
40 }
41 ],
42 "role": "author"
43 }
44 ]
45 }
46 }
48 # Entity dict con autore che ha ORCID in researcher_id_list
49 self.entity_dict_with_orcid_in_metadata = {
50 "data": {
51 "doi": "10.11187/example.orcid",
52 "creator_list": [
53 {
54 "sequence": "1",
55 "type": "person",
56 "names": [
57 {
58 "lang": "en",
59 "last_name": "LIN",
60 "first_name": "Weiren"
61 }
62 ],
63 "researcher_id_list": [
64 {
65 "id_code": "http://orcid.org/0000-0003-3228-2789",
66 "type": "ORCID"
67 }
68 ]
69 },
70 {
71 "sequence": "2",
72 "type": "person",
73 "names": [
74 {
75 "lang": "en",
76 "last_name": "SMITH",
77 "first_name": "John"
78 }
79 ]
80 }
81 ]
82 }
83 }
85 # Entity dict con autori omonimi
86 self.entity_dict_homonyms = {
87 "data": {
88 "doi": "10.11178/example.2",
89 "creator_list": [
90 {
91 "sequence": "1",
92 "type": "person",
93 "names": [
94 {
95 "lang": "ja",
96 "last_name": "田中",
97 "first_name": "一郎"
98 }
99 ],
100 "role": "author"
101 },
102 {
103 "sequence": "2",
104 "type": "person",
105 "names": [
106 {
107 "lang": "ja",
108 "last_name": "田中",
109 "first_name": "一郎"
110 }
111 ],
112 "role": "author"
113 }
114 ]
115 }
116 }
118 def test_csv_creator(self):
119 jalc_processor_citing = JalcProcessing(orcid_index=IOD, citing=True)
120 jalc_processor_cited = JalcProcessing(orcid_index=IOD, citing=False)
121 with open(DATA, "r", encoding="utf-8") as content:
122 data = json.load(content)
123 output = list()
124 item = data["data"]
125 jalc_processor_citing.prefetch_doi_orcid_index([item["doi"]])
126 tabular_data = jalc_processor_citing.csv_creator(item)
127 if tabular_data:
128 output.append(tabular_data)
129 for citation in item['citation_list']:
130 if citation.get("doi"):
131 tabular_data_cited = jalc_processor_cited.csv_creator(citation)
132 if tabular_data_cited:
133 output.append(tabular_data_cited)
134 expected_output = [
135 {'id': 'doi:10.11230/jsts.17.2_1',
136 'title': 'Diamond Synthesis with Completely Closed Chamber from Solid or Liquid Carbon Sources, In-Situ Analysis of Gaseous Species and the Possible Reaction Model',
137 'author': 'TAKAGI, Yoshiki [orcid:0000-0001-9597-7030]',
138 'issue': '2',
139 'volume': '17',
140 'venue': 'The Journal of Space Technology and Science [issn:0911-551X issn:2186-4772 jid:jsts]',
141 'pub_date': '2001',
142 'page': '2_1-2_7',
143 'type': 'journal article',
144 'publisher': '特定非営利活動法人 日本ロケット協会',
145 'editor': ''},
146 {'id': 'doi:10.1063/1.1656693',
147 'title': '',
148 'author': '',
149 'issue': '',
150 'volume': '39',
151 'venue': '',
152 'pub_date': '1968',
153 'page': '2915-2915',
154 'type': '',
155 'publisher': '',
156 'editor': ''},
157 {'id': 'doi:10.1016/0022-0248(83)90411-6',
158 'title': '',
159 'author': '',
160 'issue': '',
161 'volume': '62',
162 'venue': 'Journal of Crystal Growth',
163 'pub_date': '1983',
164 'page': '642-642',
165 'type': '',
166 'publisher': '',
167 'editor': ''},
168 {'id': 'doi:10.1016/0038-1098(88)91128-3',
169 'title': 'Raman spectra of diamondlike amorphous carbon films.',
170 'author': '',
171 'issue': '11',
172 'volume': '66',
173 'venue': '',
174 'pub_date': '1988',
175 'page': '1177-1180',
176 'type': '',
177 'publisher': '',
178 'editor': ''}]
180 self.assertEqual(output, expected_output)
182 def test_orcid_finder(self):
183 jalc_processor = JalcProcessing(orcid_index=IOD)
184 doi = '10.11185/imt.8.380'
185 jalc_processor.prefetch_doi_orcid_index([doi])
186 orcid_found = jalc_processor.orcid_finder(doi)
187 expected_output = {'0000-0002-2149-4113': 'dobashi, yoshinori'}
188 self.assertEqual(orcid_found, expected_output)
190 def test_get_agents_strings_list_overlapping_surnames(self):
191 # The surname of one author is included in the surname of another.
192 authors_list = [
193 {'role': 'author',
194 'name': '井崎 豊田, 理理子',
195 'family': '井崎 豊田',
196 'given': '理理子'},
197 {'role': 'author',
198 'name': '豊田, 純一朗',
199 'family': '豊田',
200 'given': '純一朗'}
201 ]
202 jalc_processor = JalcProcessing()
203 csv_manager = CSVManager()
204 csv_manager.data = {'doi:10.11224/cleftpalate1976.23.2_83': {'豊田, 純一朗 [0000-0002-8210-7076]'}}
205 jalc_processor.orcid_index = csv_manager
206 jalc_processor.prefetch_doi_orcid_index(['10.11224/cleftpalate1976.23.2_83'])
207 authors_strings_list, editors_strings_list = jalc_processor.get_agents_strings_list('10.11224/cleftpalate1976.23.2_83', authors_list)
208 expected_authors_list = ['井崎 豊田, 理理子', '豊田, 純一朗 [orcid:0000-0002-8210-7076]']
209 expected_editors_list = []
210 self.assertEqual((authors_strings_list, editors_strings_list), (expected_authors_list, expected_editors_list))
212 def test_get_agents_strings_list(self):
213 entity_dict = {
214 "status": "OK",
215 "apiType": "doi",
216 "apiVersion": "1.0.0",
217 "message": {
218 "total": 1,
219 "rows": 1,
220 "totalPages": 1,
221 "page": 1
222 },
223 "data": {
224 "siteId": "SI/JST.JSTAGE",
225 "content_type": "JA",
226 "doi": "10.11178/jdsa.8.49",
227 "url": "https://doi.org/10.11178/jdsa.8.49",
228 "ra": "JaLC",
229 "prefix": "10.11178",
230 "site_name": "J-STAGE",
231 "publisher_list": [
232 {
233 "publisher_name": "Agricultural and Forestry Research Center, University of Tsukuba",
234 "lang": "en"
235 },
236 {
237 "publisher_name": "筑波大学農林技術センター",
238 "lang": "ja"
239 }
240 ],
241 "title_list": [
242 {
243 "lang": "en",
244 "title": "Reformulating Agriculture and Forestry Education in the Philippines: Issues and Concerns"
245 }
246 ],
247 "creator_list": [
248 {
249 "sequence": "1",
250 "type": "person",
251 "names": [
252 {
253 "lang": "en",
254 "last_name": "O. Cruz",
255 "first_name": "Rex Victor"
256 }
257 ],
258 "affiliation_list": [
259 {
260 "affiliation_name": "Professor, Institute of Natural Resources, College of Forestry and Natural Resources, University of the Philippines Los Baños",
261 "sequence": "1",
262 "lang": "en"
263 }
264 ]
265 },
266 {
267 "sequence": "2",
268 "type": "person",
269 "names": [
270 {
271 "lang": "en",
272 "last_name": "B. Bantayan",
273 "first_name": "Rosario"
274 }
275 ],
276 "affiliation_list": [
277 {
278 "affiliation_name": "University Extension Specialist 1, Department of Forest Products and Paper Science, College of Forestry and Natural Resources, University of the Philippines Los Baños",
279 "sequence": "1",
280 "lang": "en"
281 }
282 ]
283 },
284 {
285 "sequence": "3",
286 "type": "person",
287 "names": [
288 {
289 "lang": "en",
290 "last_name": "D. Landicho",
291 "first_name": "Leila"
292 }
293 ],
294 "affiliation_list": [
295 {
296 "affiliation_name": "University Researcher 2, Institute of Agroforestry, College of Forestry and Natural Resources, University of the Philippines Los Baños",
297 "sequence": "1",
298 "lang": "en"
299 }
300 ]
301 },
302 {
303 "sequence": "4",
304 "type": "person",
305 "names": [
306 {
307 "lang": "en",
308 "last_name": "C. Bantayan",
309 "first_name": "Nathaniel"
310 }
311 ],
312 "affiliation_list": [
313 {
314 "affiliation_name": "Professor, Institute of Natural Resources, College of Forestry and Natural Resources, University of the Philippines Los Baños",
315 "sequence": "1",
316 "lang": "en"
317 }
318 ]
319 }
320 ],
321 "publication_date": {
322 "publication_year": "2013"
323 },
324 "relation_list": [
325 {
326 "content": "https://www.jstage.jst.go.jp/article/jdsa/8/1/8_49/_pdf",
327 "type": "URL",
328 "relation": "fullTextPdf"
329 }
330 ],
331 "content_language": "en",
332 "updated_date": "2014-12-09",
333 "article_type": "pub",
334 "journal_id_list": [
335 {
336 "journal_id": "1880-3016",
337 "type": "ISSN",
338 "issn_type": "print"
339 },
340 {
341 "journal_id": "1880-3024",
342 "type": "ISSN",
343 "issn_type": "online"
344 },
345 {
346 "journal_id": "jdsa",
347 "type": "JID"
348 }
349 ],
350 "journal_title_name_list": [
351 {
352 "journal_title_name": "Journal of Developments in Sustainable Agriculture",
353 "type": "full",
354 "lang": "en"
355 },
356 {
357 "journal_title_name": "J. Dev. Sus. Agr.",
358 "type": "abbreviation",
359 "lang": "en"
360 }
361 ],
362 "journal_classification": "01",
363 "journal_txt_lang": "en",
364 "recorded_year": "2006-2014",
365 "volume": "8",
366 "issue": "1",
367 "first_page": "49",
368 "last_page": "62",
369 "date": "2013-03-15",
370 "keyword_list": [
371 {
372 "keyword": "forestry",
373 "sequence": "1",
374 "lang": "en"
375 },
376 {
377 "keyword": "agriculture",
378 "sequence": "2",
379 "lang": "en"
380 },
381 {
382 "keyword": "outcomes-based education",
383 "sequence": "3",
384 "lang": "en"
385 }
386 ],
387 "citation_list": [
388 {
389 "sequence": "1",
390 "original_text": "Adedoyin, O.O. and Shangodoyin, D.K., 2010. Concepts and Practices of Outcome Based Education for Effective Educational System in Botswana. Euro. J. Soc. Sci., 13 (2), 161-170."
391 },
392 {
393 "sequence": "2",
394 "original_text": "Bantayan, N.C., 2007. Forest (Bad) Science and (Mal) Practice: Can Filipino Foresters Rise Above The Pitfalls And Failures Of The Profession?. Policy Paper. Center for Integrative and Development Studies. UP Diliman, Quezon City, Philippines."
395 },
396 {
397 "sequence": "3",
398 "original_text": "BAS (Bureau of Agricultural Statistics). 2011. Philippine Agriculture in Figure. Retrieved December 15, 2012 from http://www.bas.gov.ph"
399 },
400 {
401 "sequence": "4",
402 "original_text": "Carandang, M.G., Landicho, L.D., Andrada II, R. T., Malabrigo, P.L. Jr., Angeles, A.M., Oliva, A.T., Eslava, F.E. Jr. and Regondola, M.L., 2008. Demystifying the State of Forestry Education and the Forestry Profession in the Philippines. Ecosys. Devel. J. 1 (1), 46-54."
403 },
404 {
405 "sequence": "5",
406 "original_text": "CHED Memorandum Order (CMO), 2012. Policies, Standards and Guidelines in the Establishment of an Outcomes-Based Education (OBE) System in Higher Education Institutions offering Engineering Programs. No. 37, Series of 2012."
407 },
408 {
409 "sequence": "6",
410 "original_text": "CHED Memorandum Order (CMO), 2008. Policies and Standards for Bachelor of Science in Agriculture (BSA) Program. No. 14, Series of 2008. Retrieved October 30, 2012 from http://www.ched.gov.ph/chedwww/index.php/eng/Information/CHED-Memorandum-Orders/2008-CHED-Memorandum-Orders"
411 },
412 {
413 "sequence": "7",
414 "original_text": "Cruz, R.V.O., Pulhin, J.M. and Mendoza M.D. 2011. Reinventing CFNR: Leading the Way in Integrated Tropical Forest and Natural Resource Management Education, Research and Governance (2011-2025). A Centennial Professorial Chair Lecture delivered in December 2011 at the Nicolas P. Lansigan Hall, College of Forestry and Natural Resources, University of the Philippines Los Banos, College, Laguna, Philippines."
415 },
416 {
417 "sequence": "8",
418 "doi": "10.11178/jdsa.5.47",
419 "title_list": [
420 {
421 "lang": "en",
422 "title": "Enhancing Food Security in the Context of Climate Change and the Role of Higher Education Institutions in the Philippines"
423 }
424 ],
425 "volume": "5",
426 "issue": "1",
427 "first_page": "47",
428 "last_page": "63",
429 "publication_date": {
430 "publication_year": "2010"
431 },
432 "creator_list": [
433 {
434 "sequence": "1",
435 "type": "person",
436 "names": [
437 {
438 "lang": "en",
439 "last_name": "Espaldon",
440 "first_name": "Maria Victoria O."
441 }
442 ],
443 "affiliation_list": [
444 {
445 "affiliation_name": "Professor, School of Environmental Science and Management, University of the Philippines Los Baños, College",
446 "sequence": "1",
447 "lang": "en"
448 }
449 ]
450 },
451 {
452 "sequence": "2",
453 "type": "person",
454 "names": [
455 {
456 "lang": "en",
457 "last_name": "Zamora",
458 "first_name": "Oscar B."
459 }
460 ],
461 "affiliation_list": [
462 {
463 "affiliation_name": "Professor, College of Agriculture, University of the Philippines Los Baños, College",
464 "sequence": "1",
465 "lang": "en"
466 }
467 ]
468 },
469 {
470 "sequence": "3",
471 "type": "person",
472 "names": [
473 {
474 "lang": "en",
475 "last_name": "Perez",
476 "first_name": "Rosa T."
477 }
478 ],
479 "affiliation_list": [
480 {
481 "affiliation_name": "Climate Change Specialist, Manila Observatory, Ateneo de Manila University",
482 "sequence": "1",
483 "lang": "en"
484 }
485 ]
486 }
487 ],
488 "content_language": "en",
489 "original_text": "Espaldon, M.V.O., Zamora, O.B. and Perez, R.T., 2010. Enhancing Food Security in the Context of Climate Change and the Role of Higher Education Institutions in the Philippines. J. Dev. .Sus. Agr. 5: 47-63."
490 },
491 {
492 "sequence": "9",
493 "original_text": "FAO (Food and Agriculture Organization), 2009. Food Security and Agricultural Mitigation in Developing Countries: Options for Capturing Synergies. FAO, Rome, Italy."
494 },
495 {
496 "sequence": "10",
497 "original_text": "FMB (Forest Management Bureau), 2009. Philippines Forestry Outlook Study in Asia-Pacific Forestry Sector Outlook Study II, FAO Working Paper Series. Working Paper No: APFSOS IIWP/2009/10. Retrieved on October 22, 2012 from http://www.fao.org/docrep/014/am255e/am255e00.pdf"
498 },
499 {
500 "sequence": "11",
501 "original_text": "Habito, C.F and Briones R.M., 2005. Philippine Agriculture over the Years: Performance, Policies and Pitfalls. Paper presented during the conference on “Policies to Strengthen Productivity in the Philippines’, June 27, 2005, Makati City, Philippines."
502 },
503 {
504 "sequence": "12",
505 "original_text": "Haub, C. and M.M. Kent, 2009. World Population Data Sheet. Retrieved October 30, 2012 from http://www.prb.org/pdf09/09wpds_eng.pdf."
506 },
507 {
508 "sequence": "13",
509 "original_text": "Killen, R., 2000. Outcomes-based education: Principles and possibilities. Unpublished manuscript, University of Newcastle, Faculty of Education. Retrieved on October 29, 2012 from http://drjj.uitm.edu.my/DRJJ/CONFERENCE/UPSI/OBEKillen.pdf"
510 },
511 {
512 "sequence": "14",
513 "original_text": "Nair, C.T.S. Undated. What does the future hold for forestry education? Retrieved October 25, 2012 from http://www.fao.org/docrep/007/y5382e/y5382e02.htm#P23_5619"
514 },
515 {
516 "sequence": "15",
517 "original_text": "NEDA (National Economic Development Authority). 2011. Philippine Development Plan 2011-2016. Retrieved December 15, 2012 from http://www.neda.gov.ph"
518 },
519 {
520 "sequence": "16",
521 "original_text": "NSCB (National Statistics and Coordination Board). 2012. Statistics on agriculture and fisheries. Retrieved December 15, 2012 from http://www.nscb.gov.ph"
522 },
523 {
524 "sequence": "17",
525 "original_text": "Osias, T., Tacardon, L. and Pedroso, L. (undated). People Beyond Numbers. The road to population stabilization of in the Philippines. Retrieved October 28, 2012 from http://www.gillespiefoundation.org/uploads/Philippines_Report.pdf"
526 },
527 {
528 "sequence": "18",
529 "original_text": "PEM (Philippines Environment Monitor). 2003. Water Quality. Published by the Department of Environment and Natural Resources, the Environmental Management Bureau and the World Bank Group, Country Office Manila. Retrieved on October 26, 2012 from http://worldbank.org/country/philippines"
530 },
531 {
532 "sequence": "19",
533 "original_text": "PFS (Philippine Forestry Statistics), 2011. Philippine Forestry Statistics, Published by Forestry Management Bureau, Department of Environment and Natural Resources, Republic of the Philippines. Retrieved on October 26, 2012 from http://forestry.denr.gov.ph/2011PFS.pdf"
534 },
535 {
536 "sequence": "20",
537 "original_text": "PIDS (Philippine Institute for Development Studies) 2011. What’s in store for AFNR Graduates in the Philippines? Dev. Res. News. 29 (4), July-August 2011, ISSN 0115-9097."
538 },
539 {
540 "sequence": "21",
541 "original_text": "Rebugio L.L. and Camacho, L.D. Reorienting forestry education to sustainable management. J. Environ. Sci. Manag. 6 (2): 49-58."
542 },
543 {
544 "sequence": "22",
545 "original_text": "Tolentino, B., David, C., Balisacan, A. and Intal P., 2001. “Strategic Actions to Rapidly Ensure Food Security and Rural Growth in the.” In <I>Yellow Paper II: The Post-Erap Reform Agenda. </I>Retrieved on October 24, 2012 from http://www.aer.ph/images/stories/projects/yp2/agri.pdf"
546 },
547 {
548 "sequence": "23",
549 "original_text": "Zundel, P.E. and Needham, T.D., 2000. Outcomes-Based Forestry Education. Application in New Brusnwick. J. For., 98 (2): 30-35."
550 }
551 ]
552 }
553 }
554 entity_dict = entity_dict["data"]
555 jalc_processor = JalcProcessing()
556 authors_list = jalc_processor._extract_agents(entity_dict)
557 authors_strings_list, _ = jalc_processor.get_agents_strings_list(entity_dict["doi"], authors_list)
558 expected_authors_list = ['O. Cruz, Rex Victor', 'B. Bantayan, Rosario', 'D. Landicho, Leila', 'C. Bantayan, Nathaniel']
560 self.assertEqual(authors_strings_list, expected_authors_list)
563 def test_get_agents_strings_list_same_family(self):
564 # Two authors have the same family name and the same given name initials
565 # The authors' information related to this publication are false, they have been used just for testing purposes
566 entity_dict = {
567 "status": "OK",
568 "apiType": "doi",
569 "apiVersion": "1.0.0",
570 "message": {
571 "total": 1,
572 "rows": 1,
573 "totalPages": 1,
574 "page": 1
575 },
576 "data": {
577 "siteId": "SI/JST.JSTAGE",
578 "content_type": "JA",
579 "doi": "10.11178/jdsa.8.49",
580 "url": "https://doi.org/10.11178/jdsa.8.49",
581 "ra": "JaLC",
582 "prefix": "10.11178",
583 "site_name": "J-STAGE",
584 "publisher_list": [
585 {
586 "publisher_name": "Agricultural and Forestry Research Center, University of Tsukuba",
587 "lang": "en"
588 },
589 {
590 "publisher_name": "筑波大学農林技術センター",
591 "lang": "ja"
592 }
593 ],
594 "title_list": [
595 {
596 "lang": "en",
597 "title": "Reformulating Agriculture and Forestry Education in the Philippines: Issues and Concerns"
598 }
599 ],
600 "creator_list": [
601 {
602 "sequence": "1",
603 "type": "person",
604 "names": [
605 {
606 "lang": "ja",
607 "last_name": "豊田",
608 "first_name": "理理子"
609 }
610 ],
611 "affiliation_list": [
612 {
613 "affiliation_name": "Professor, Institute of Natural Resources, College of Forestry and Natural Resources, University of the Philippines Los Baños",
614 "sequence": "1",
615 "lang": "ja"
616 }
617 ]
618 },
619 {
620 "sequence": "2",
621 "type": "person",
622 "names": [
623 {
624 "lang": "ja",
625 "last_name": "豊田",
626 "first_name": "理純一朗"
627 }
628 ],
629 "affiliation_list": [
630 {
631 "affiliation_name": "University Extension Specialist 1, Department of Forest Products and Paper Science, College of Forestry and Natural Resources, University of the Philippines Los Baños",
632 "sequence": "2",
633 "lang": "ja"
634 }
635 ]
636 }
637 ],
638 "publication_date": {
639 "publication_year": "2013"
640 },
641 "relation_list": [
642 {
643 "content": "https://www.jstage.jst.go.jp/article/jdsa/8/1/8_49/_pdf",
644 "type": "URL",
645 "relation": "fullTextPdf"
646 }
647 ],
648 "content_language": "en",
649 "updated_date": "2014-12-09",
650 "article_type": "pub",
651 "journal_id_list": [
652 {
653 "journal_id": "1880-3016",
654 "type": "ISSN",
655 "issn_type": "print"
656 },
657 {
658 "journal_id": "1880-3024",
659 "type": "ISSN",
660 "issn_type": "online"
661 },
662 {
663 "journal_id": "jdsa",
664 "type": "JID"
665 }
666 ],
667 "journal_title_name_list": [
668 {
669 "journal_title_name": "Journal of Developments in Sustainable Agriculture",
670 "type": "full",
671 "lang": "en"
672 },
673 {
674 "journal_title_name": "J. Dev. Sus. Agr.",
675 "type": "abbreviation",
676 "lang": "en"
677 }
678 ],
679 "journal_classification": "01",
680 "journal_txt_lang": "en",
681 "recorded_year": "2006-2014",
682 "volume": "8",
683 "issue": "1",
684 "first_page": "49",
685 "last_page": "62",
686 "date": "2013-03-15",
687 "keyword_list": [
688 {
689 "keyword": "forestry",
690 "sequence": "1",
691 "lang": "en"
692 },
693 {
694 "keyword": "agriculture",
695 "sequence": "2",
696 "lang": "en"
697 },
698 {
699 "keyword": "outcomes-based education",
700 "sequence": "3",
701 "lang": "en"
702 }
703 ],
704 "citation_list": [
705 {
706 "sequence": "1",
707 "original_text": "Adedoyin, O.O. and Shangodoyin, D.K., 2010. Concepts and Practices of Outcome Based Education for Effective Educational System in Botswana. Euro. J. Soc. Sci., 13 (2), 161-170."
708 },
709 {
710 "sequence": "2",
711 "original_text": "Bantayan, N.C., 2007. Forest (Bad) Science and (Mal) Practice: Can Filipino Foresters Rise Above The Pitfalls And Failures Of The Profession?. Policy Paper. Center for Integrative and Development Studies. UP Diliman, Quezon City, Philippines."
712 },
713 {
714 "sequence": "3",
715 "original_text": "BAS (Bureau of Agricultural Statistics). 2011. Philippine Agriculture in Figure. Retrieved December 15, 2012 from http://www.bas.gov.ph"
716 },
717 {
718 "sequence": "4",
719 "original_text": "Carandang, M.G., Landicho, L.D., Andrada II, R. T., Malabrigo, P.L. Jr., Angeles, A.M., Oliva, A.T., Eslava, F.E. Jr. and Regondola, M.L., 2008. Demystifying the State of Forestry Education and the Forestry Profession in the Philippines. Ecosys. Devel. J. 1 (1), 46-54."
720 },
721 {
722 "sequence": "5",
723 "original_text": "CHED Memorandum Order (CMO), 2012. Policies, Standards and Guidelines in the Establishment of an Outcomes-Based Education (OBE) System in Higher Education Institutions offering Engineering Programs. No. 37, Series of 2012."
724 },
725 {
726 "sequence": "6",
727 "original_text": "CHED Memorandum Order (CMO), 2008. Policies and Standards for Bachelor of Science in Agriculture (BSA) Program. No. 14, Series of 2008. Retrieved October 30, 2012 from http://www.ched.gov.ph/chedwww/index.php/eng/Information/CHED-Memorandum-Orders/2008-CHED-Memorandum-Orders"
728 },
729 {
730 "sequence": "7",
731 "original_text": "Cruz, R.V.O., Pulhin, J.M. and Mendoza M.D. 2011. Reinventing CFNR: Leading the Way in Integrated Tropical Forest and Natural Resource Management Education, Research and Governance (2011-2025). A Centennial Professorial Chair Lecture delivered in December 2011 at the Nicolas P. Lansigan Hall, College of Forestry and Natural Resources, University of the Philippines Los Banos, College, Laguna, Philippines."
732 },
733 {
734 "sequence": "8",
735 "doi": "10.11178/jdsa.5.47",
736 "title_list": [
737 {
738 "lang": "en",
739 "title": "Enhancing Food Security in the Context of Climate Change and the Role of Higher Education Institutions in the Philippines"
740 }
741 ],
742 "volume": "5",
743 "issue": "1",
744 "first_page": "47",
745 "last_page": "63",
746 "publication_date": {
747 "publication_year": "2010"
748 },
749 "creator_list": [
750 {
751 "sequence": "1",
752 "type": "person",
753 "names": [
754 {
755 "lang": "en",
756 "last_name": "Espaldon",
757 "first_name": "Maria Victoria O."
758 }
759 ],
760 "affiliation_list": [
761 {
762 "affiliation_name": "Professor, School of Environmental Science and Management, University of the Philippines Los Baños, College",
763 "sequence": "1",
764 "lang": "en"
765 }
766 ]
767 },
768 {
769 "sequence": "2",
770 "type": "person",
771 "names": [
772 {
773 "lang": "en",
774 "last_name": "Zamora",
775 "first_name": "Oscar B."
776 }
777 ],
778 "affiliation_list": [
779 {
780 "affiliation_name": "Professor, College of Agriculture, University of the Philippines Los Baños, College",
781 "sequence": "1",
782 "lang": "en"
783 }
784 ]
785 },
786 {
787 "sequence": "3",
788 "type": "person",
789 "names": [
790 {
791 "lang": "en",
792 "last_name": "Perez",
793 "first_name": "Rosa T."
794 }
795 ],
796 "affiliation_list": [
797 {
798 "affiliation_name": "Climate Change Specialist, Manila Observatory, Ateneo de Manila University",
799 "sequence": "1",
800 "lang": "en"
801 }
802 ]
803 }
804 ],
805 "content_language": "en",
806 "original_text": "Espaldon, M.V.O., Zamora, O.B. and Perez, R.T., 2010. Enhancing Food Security in the Context of Climate Change and the Role of Higher Education Institutions in the Philippines. J. Dev. .Sus. Agr. 5: 47-63."
807 },
808 {
809 "sequence": "9",
810 "original_text": "FAO (Food and Agriculture Organization), 2009. Food Security and Agricultural Mitigation in Developing Countries: Options for Capturing Synergies. FAO, Rome, Italy."
811 },
812 {
813 "sequence": "10",
814 "original_text": "FMB (Forest Management Bureau), 2009. Philippines Forestry Outlook Study in Asia-Pacific Forestry Sector Outlook Study II, FAO Working Paper Series. Working Paper No: APFSOS IIWP/2009/10. Retrieved on October 22, 2012 from http://www.fao.org/docrep/014/am255e/am255e00.pdf"
815 },
816 {
817 "sequence": "11",
818 "original_text": "Habito, C.F and Briones R.M., 2005. Philippine Agriculture over the Years: Performance, Policies and Pitfalls. Paper presented during the conference on “Policies to Strengthen Productivity in the Philippines’, June 27, 2005, Makati City, Philippines."
819 },
820 {
821 "sequence": "12",
822 "original_text": "Haub, C. and M.M. Kent, 2009. World Population Data Sheet. Retrieved October 30, 2012 from http://www.prb.org/pdf09/09wpds_eng.pdf."
823 },
824 {
825 "sequence": "13",
826 "original_text": "Killen, R., 2000. Outcomes-based education: Principles and possibilities. Unpublished manuscript, University of Newcastle, Faculty of Education. Retrieved on October 29, 2012 from http://drjj.uitm.edu.my/DRJJ/CONFERENCE/UPSI/OBEKillen.pdf"
827 },
828 {
829 "sequence": "14",
830 "original_text": "Nair, C.T.S. Undated. What does the future hold for forestry education? Retrieved October 25, 2012 from http://www.fao.org/docrep/007/y5382e/y5382e02.htm#P23_5619"
831 },
832 {
833 "sequence": "15",
834 "original_text": "NEDA (National Economic Development Authority). 2011. Philippine Development Plan 2011-2016. Retrieved December 15, 2012 from http://www.neda.gov.ph"
835 },
836 {
837 "sequence": "16",
838 "original_text": "NSCB (National Statistics and Coordination Board). 2012. Statistics on agriculture and fisheries. Retrieved December 15, 2012 from http://www.nscb.gov.ph"
839 },
840 {
841 "sequence": "17",
842 "original_text": "Osias, T., Tacardon, L. and Pedroso, L. (undated). People Beyond Numbers. The road to population stabilization of in the Philippines. Retrieved October 28, 2012 from http://www.gillespiefoundation.org/uploads/Philippines_Report.pdf"
843 },
844 {
845 "sequence": "18",
846 "original_text": "PEM (Philippines Environment Monitor). 2003. Water Quality. Published by the Department of Environment and Natural Resources, the Environmental Management Bureau and the World Bank Group, Country Office Manila. Retrieved on October 26, 2012 from http://worldbank.org/country/philippines"
847 },
848 {
849 "sequence": "19",
850 "original_text": "PFS (Philippine Forestry Statistics), 2011. Philippine Forestry Statistics, Published by Forestry Management Bureau, Department of Environment and Natural Resources, Republic of the Philippines. Retrieved on October 26, 2012 from http://forestry.denr.gov.ph/2011PFS.pdf"
851 },
852 {
853 "sequence": "20",
854 "original_text": "PIDS (Philippine Institute for Development Studies) 2011. What’s in store for AFNR Graduates in the Philippines? Dev. Res. News. 29 (4), July-August 2011, ISSN 0115-9097."
855 },
856 {
857 "sequence": "21",
858 "original_text": "Rebugio L.L. and Camacho, L.D. Reorienting forestry education to sustainable management. J. Environ. Sci. Manag. 6 (2): 49-58."
859 },
860 {
861 "sequence": "22",
862 "original_text": "Tolentino, B., David, C., Balisacan, A. and Intal P., 2001. “Strategic Actions to Rapidly Ensure Food Security and Rural Growth in the.” In <I>Yellow Paper II: The Post-Erap Reform Agenda. </I>Retrieved on October 24, 2012 from http://www.aer.ph/images/stories/projects/yp2/agri.pdf"
863 },
864 {
865 "sequence": "23",
866 "original_text": "Zundel, P.E. and Needham, T.D., 2000. Outcomes-Based Forestry Education. Application in New Brusnwick. J. For., 98 (2): 30-35."
867 }
868 ]
869 }
870 }
871 entity_dict = entity_dict["data"]
872 jalc_processor = JalcProcessing()
873 authors_list = jalc_processor._extract_agents(entity_dict)
874 authors_strings_list, _ = jalc_processor.get_agents_strings_list(entity_dict["doi"], authors_list)
875 expected_authors_list = ['豊田, 理理子', '豊田, 理純一朗']
876 self.assertEqual(authors_strings_list, expected_authors_list)
878 def test_get_agents_strings_list_homonyms(self):
879 # Two authors have the same family name and the same given name
880 # The authors' information related to this publication are false, they have been used just for testing purposes
881 entity_dict = {
882 "status": "OK",
883 "apiType": "doi",
884 "apiVersion": "1.0.0",
885 "message": {
886 "total": 1,
887 "rows": 1,
888 "totalPages": 1,
889 "page": 1
890 },
891 "data": {
892 "siteId": "SI/JST.JSTAGE",
893 "content_type": "JA",
894 "doi": "10.11178/jdsa.8.49",
895 "url": "https://doi.org/10.11178/jdsa.8.49",
896 "ra": "JaLC",
897 "prefix": "10.11178",
898 "site_name": "J-STAGE",
899 "publisher_list": [
900 {
901 "publisher_name": "Agricultural and Forestry Research Center, University of Tsukuba",
902 "lang": "en"
903 },
904 {
905 "publisher_name": "筑波大学農林技術センター",
906 "lang": "ja"
907 }
908 ],
909 "title_list": [
910 {
911 "lang": "en",
912 "title": "Reformulating Agriculture and Forestry Education in the Philippines: Issues and Concerns"
913 }
914 ],
915 "creator_list": [
916 {
917 "sequence": "1",
918 "type": "person",
919 "names": [
920 {
921 "lang": "ja",
922 "last_name": "豊田",
923 "first_name": "理理子"
924 }
925 ],
926 "affiliation_list": [
927 {
928 "affiliation_name": "Professor, Institute of Natural Resources, College of Forestry and Natural Resources, University of the Philippines Los Baños",
929 "sequence": "1",
930 "lang": "ja"
931 }
932 ]
933 },
934 {
935 "sequence": "2",
936 "type": "person",
937 "names": [
938 {
939 "lang": "ja",
940 "last_name": "豊田",
941 "first_name": "理純一朗"
942 }
943 ],
944 "affiliation_list": [
945 {
946 "affiliation_name": "University Extension Specialist 1, Department of Forest Products and Paper Science, College of Forestry and Natural Resources, University of the Philippines Los Baños",
947 "sequence": "2",
948 "lang": "ja"
949 }
950 ]
951 },
952 {
953 "sequence": "3",
954 "type": "person",
955 "names": [
956 {
957 "lang": "ja",
958 "last_name": "豊田",
959 "first_name": "理純一朗"
960 }
961 ],
962 "affiliation_list": [
963 {
964 "affiliation_name": "Climate Change Specialist, Manila Observatory, Ateneo de Manila University",
965 "sequence": "3",
966 "lang": "ja"
967 }
968 ]
969 }
970 ],
971 "publication_date": {
972 "publication_year": "2013"
973 },
974 "relation_list": [
975 {
976 "content": "https://www.jstage.jst.go.jp/article/jdsa/8/1/8_49/_pdf",
977 "type": "URL",
978 "relation": "fullTextPdf"
979 }
980 ],
981 "content_language": "en",
982 "updated_date": "2014-12-09",
983 "article_type": "pub",
984 "journal_id_list": [
985 {
986 "journal_id": "1880-3016",
987 "type": "ISSN",
988 "issn_type": "print"
989 },
990 {
991 "journal_id": "1880-3024",
992 "type": "ISSN",
993 "issn_type": "online"
994 },
995 {
996 "journal_id": "jdsa",
997 "type": "JID"
998 }
999 ],
1000 "journal_title_name_list": [
1001 {
1002 "journal_title_name": "Journal of Developments in Sustainable Agriculture",
1003 "type": "full",
1004 "lang": "en"
1005 },
1006 {
1007 "journal_title_name": "J. Dev. Sus. Agr.",
1008 "type": "abbreviation",
1009 "lang": "en"
1010 }
1011 ],
1012 "journal_classification": "01",
1013 "journal_txt_lang": "en",
1014 "recorded_year": "2006-2014",
1015 "volume": "8",
1016 "issue": "1",
1017 "first_page": "49",
1018 "last_page": "62",
1019 "date": "2013-03-15",
1020 "keyword_list": [
1021 {
1022 "keyword": "forestry",
1023 "sequence": "1",
1024 "lang": "en"
1025 },
1026 {
1027 "keyword": "agriculture",
1028 "sequence": "2",
1029 "lang": "en"
1030 },
1031 {
1032 "keyword": "outcomes-based education",
1033 "sequence": "3",
1034 "lang": "en"
1035 }
1036 ],
1037 "citation_list": [
1038 {
1039 "sequence": "1",
1040 "original_text": "Adedoyin, O.O. and Shangodoyin, D.K., 2010. Concepts and Practices of Outcome Based Education for Effective Educational System in Botswana. Euro. J. Soc. Sci., 13 (2), 161-170."
1041 },
1042 {
1043 "sequence": "2",
1044 "original_text": "Bantayan, N.C., 2007. Forest (Bad) Science and (Mal) Practice: Can Filipino Foresters Rise Above The Pitfalls And Failures Of The Profession?. Policy Paper. Center for Integrative and Development Studies. UP Diliman, Quezon City, Philippines."
1045 },
1046 {
1047 "sequence": "3",
1048 "original_text": "BAS (Bureau of Agricultural Statistics). 2011. Philippine Agriculture in Figure. Retrieved December 15, 2012 from http://www.bas.gov.ph"
1049 },
1050 {
1051 "sequence": "4",
1052 "original_text": "Carandang, M.G., Landicho, L.D., Andrada II, R. T., Malabrigo, P.L. Jr., Angeles, A.M., Oliva, A.T., Eslava, F.E. Jr. and Regondola, M.L., 2008. Demystifying the State of Forestry Education and the Forestry Profession in the Philippines. Ecosys. Devel. J. 1 (1), 46-54."
1053 },
1054 {
1055 "sequence": "5",
1056 "original_text": "CHED Memorandum Order (CMO), 2012. Policies, Standards and Guidelines in the Establishment of an Outcomes-Based Education (OBE) System in Higher Education Institutions offering Engineering Programs. No. 37, Series of 2012."
1057 },
1058 {
1059 "sequence": "6",
1060 "original_text": "CHED Memorandum Order (CMO), 2008. Policies and Standards for Bachelor of Science in Agriculture (BSA) Program. No. 14, Series of 2008. Retrieved October 30, 2012 from http://www.ched.gov.ph/chedwww/index.php/eng/Information/CHED-Memorandum-Orders/2008-CHED-Memorandum-Orders"
1061 },
1062 {
1063 "sequence": "7",
1064 "original_text": "Cruz, R.V.O., Pulhin, J.M. and Mendoza M.D. 2011. Reinventing CFNR: Leading the Way in Integrated Tropical Forest and Natural Resource Management Education, Research and Governance (2011-2025). A Centennial Professorial Chair Lecture delivered in December 2011 at the Nicolas P. Lansigan Hall, College of Forestry and Natural Resources, University of the Philippines Los Banos, College, Laguna, Philippines."
1065 },
1066 {
1067 "sequence": "8",
1068 "doi": "10.11178/jdsa.5.47",
1069 "title_list": [
1070 {
1071 "lang": "en",
1072 "title": "Enhancing Food Security in the Context of Climate Change and the Role of Higher Education Institutions in the Philippines"
1073 }
1074 ],
1075 "volume": "5",
1076 "issue": "1",
1077 "first_page": "47",
1078 "last_page": "63",
1079 "publication_date": {
1080 "publication_year": "2010"
1081 },
1082 "creator_list": [
1083 {
1084 "sequence": "1",
1085 "type": "person",
1086 "names": [
1087 {
1088 "lang": "en",
1089 "last_name": "Espaldon",
1090 "first_name": "Maria Victoria O."
1091 }
1092 ],
1093 "affiliation_list": [
1094 {
1095 "affiliation_name": "Professor, School of Environmental Science and Management, University of the Philippines Los Baños, College",
1096 "sequence": "1",
1097 "lang": "en"
1098 }
1099 ]
1100 },
1101 {
1102 "sequence": "2",
1103 "type": "person",
1104 "names": [
1105 {
1106 "lang": "en",
1107 "last_name": "Zamora",
1108 "first_name": "Oscar B."
1109 }
1110 ],
1111 "affiliation_list": [
1112 {
1113 "affiliation_name": "Professor, College of Agriculture, University of the Philippines Los Baños, College",
1114 "sequence": "1",
1115 "lang": "en"
1116 }
1117 ]
1118 },
1119 {
1120 "sequence": "3",
1121 "type": "person",
1122 "names": [
1123 {
1124 "lang": "en",
1125 "last_name": "Perez",
1126 "first_name": "Rosa T."
1127 }
1128 ],
1129 "affiliation_list": [
1130 {
1131 "affiliation_name": "Climate Change Specialist, Manila Observatory, Ateneo de Manila University",
1132 "sequence": "1",
1133 "lang": "en"
1134 }
1135 ]
1136 }
1137 ],
1138 "content_language": "en",
1139 "original_text": "Espaldon, M.V.O., Zamora, O.B. and Perez, R.T., 2010. Enhancing Food Security in the Context of Climate Change and the Role of Higher Education Institutions in the Philippines. J. Dev. .Sus. Agr. 5: 47-63."
1140 },
1141 {
1142 "sequence": "9",
1143 "original_text": "FAO (Food and Agriculture Organization), 2009. Food Security and Agricultural Mitigation in Developing Countries: Options for Capturing Synergies. FAO, Rome, Italy."
1144 },
1145 {
1146 "sequence": "10",
1147 "original_text": "FMB (Forest Management Bureau), 2009. Philippines Forestry Outlook Study in Asia-Pacific Forestry Sector Outlook Study II, FAO Working Paper Series. Working Paper No: APFSOS IIWP/2009/10. Retrieved on October 22, 2012 from http://www.fao.org/docrep/014/am255e/am255e00.pdf"
1148 },
1149 {
1150 "sequence": "11",
1151 "original_text": "Habito, C.F and Briones R.M., 2005. Philippine Agriculture over the Years: Performance, Policies and Pitfalls. Paper presented during the conference on “Policies to Strengthen Productivity in the Philippines’, June 27, 2005, Makati City, Philippines."
1152 },
1153 {
1154 "sequence": "12",
1155 "original_text": "Haub, C. and M.M. Kent, 2009. World Population Data Sheet. Retrieved October 30, 2012 from http://www.prb.org/pdf09/09wpds_eng.pdf."
1156 },
1157 {
1158 "sequence": "13",
1159 "original_text": "Killen, R., 2000. Outcomes-based education: Principles and possibilities. Unpublished manuscript, University of Newcastle, Faculty of Education. Retrieved on October 29, 2012 from http://drjj.uitm.edu.my/DRJJ/CONFERENCE/UPSI/OBEKillen.pdf"
1160 },
1161 {
1162 "sequence": "14",
1163 "original_text": "Nair, C.T.S. Undated. What does the future hold for forestry education? Retrieved October 25, 2012 from http://www.fao.org/docrep/007/y5382e/y5382e02.htm#P23_5619"
1164 },
1165 {
1166 "sequence": "15",
1167 "original_text": "NEDA (National Economic Development Authority). 2011. Philippine Development Plan 2011-2016. Retrieved December 15, 2012 from http://www.neda.gov.ph"
1168 },
1169 {
1170 "sequence": "16",
1171 "original_text": "NSCB (National Statistics and Coordination Board). 2012. Statistics on agriculture and fisheries. Retrieved December 15, 2012 from http://www.nscb.gov.ph"
1172 },
1173 {
1174 "sequence": "17",
1175 "original_text": "Osias, T., Tacardon, L. and Pedroso, L. (undated). People Beyond Numbers. The road to population stabilization of in the Philippines. Retrieved October 28, 2012 from http://www.gillespiefoundation.org/uploads/Philippines_Report.pdf"
1176 },
1177 {
1178 "sequence": "18",
1179 "original_text": "PEM (Philippines Environment Monitor). 2003. Water Quality. Published by the Department of Environment and Natural Resources, the Environmental Management Bureau and the World Bank Group, Country Office Manila. Retrieved on October 26, 2012 from http://worldbank.org/country/philippines"
1180 },
1181 {
1182 "sequence": "19",
1183 "original_text": "PFS (Philippine Forestry Statistics), 2011. Philippine Forestry Statistics, Published by Forestry Management Bureau, Department of Environment and Natural Resources, Republic of the Philippines. Retrieved on October 26, 2012 from http://forestry.denr.gov.ph/2011PFS.pdf"
1184 },
1185 {
1186 "sequence": "20",
1187 "original_text": "PIDS (Philippine Institute for Development Studies) 2011. What’s in store for AFNR Graduates in the Philippines? Dev. Res. News. 29 (4), July-August 2011, ISSN 0115-9097."
1188 },
1189 {
1190 "sequence": "21",
1191 "original_text": "Rebugio L.L. and Camacho, L.D. Reorienting forestry education to sustainable management. J. Environ. Sci. Manag. 6 (2): 49-58."
1192 },
1193 {
1194 "sequence": "22",
1195 "original_text": "Tolentino, B., David, C., Balisacan, A. and Intal P., 2001. “Strategic Actions to Rapidly Ensure Food Security and Rural Growth in the.” In <I>Yellow Paper II: The Post-Erap Reform Agenda. </I>Retrieved on October 24, 2012 from http://www.aer.ph/images/stories/projects/yp2/agri.pdf"
1196 },
1197 {
1198 "sequence": "23",
1199 "original_text": "Zundel, P.E. and Needham, T.D., 2000. Outcomes-Based Forestry Education. Application in New Brusnwick. J. For., 98 (2): 30-35."
1200 }
1201 ]
1202 }
1203 }
1204 entity_dict = entity_dict["data"]
1205 jalc_processor = JalcProcessing()
1206 authors_list = jalc_processor._extract_agents(entity_dict)
1207 authors_strings_list, _ = jalc_processor.get_agents_strings_list(entity_dict["doi"], authors_list)
1208 expected_authors_list = ['豊田, 理理子', '豊田, 理純一朗', '豊田, 理純一朗']
1209 self.assertEqual(authors_strings_list, expected_authors_list)
1212 def test_get_agents_strings_list_inverted_names(self):
1213 # One author with an ORCID has as a name the surname of another
1214 # The authors' information related to this publication are false, they have been used just for testing purposes
1216 entity_dict = {
1217 "status": "OK",
1218 "apiType": "doi",
1219 "apiVersion": "1.0.0",
1220 "message": {
1221 "total": 1,
1222 "rows": 1,
1223 "totalPages": 1,
1224 "page": 1
1225 },
1226 "data": {
1227 "siteId": "SI/JST.JSTAGE",
1228 "content_type": "JA",
1229 "doi": "10.11230/jsts.17.2_1",
1230 "url": "https://doi.org/10.11230/jsts.17.2_1",
1231 "ra": "JaLC",
1232 "prefix": "10.11230",
1233 "site_name": "J-STAGE",
1234 "publisher_list": [
1235 {
1236 "publisher_name": "Japanese Rocket Society",
1237 "lang": "en"
1238 },
1239 {
1240 "publisher_name": "特定非営利活動法人 日本ロケット協会",
1241 "lang": "ja"
1242 }
1243 ],
1244 "title_list": [
1245 {
1246 "lang": "en",
1247 "title": "Diamond Synthesis with Completely Closed Chamber from Solid or Liquid Carbon Sources, In-Situ Analysis of Gaseous Species and the Possible Reaction Model"
1248 }
1249 ],
1250 "creator_list": [
1251 {
1252 "sequence": "1",
1253 "type": "person",
1254 "names": [
1255 {
1256 "lang": "en",
1257 "last_name": "TAKAGI",
1258 "first_name": "Yoshiki"
1259 }
1260 ],
1261 "affiliation_list": [
1262 {
1263 "affiliation_name": "Teikyo University of Science and Technology",
1264 "sequence": "1",
1265 "lang": "en"
1266 }
1267 ]
1268 },
1269 {
1270 "sequence": "2",
1271 "type": "person",
1272 "names": [
1273 {
1274 "lang": "en",
1275 "last_name": "Yoshiki",
1276 "first_name": "TAKAGI"
1277 }
1278 ],
1279 "affiliation_list": [
1280 {
1281 "affiliation_name": "Teikyo University of Science and Technology",
1282 "sequence": "2",
1283 "lang": "en"
1284 }
1285 ]
1286 }
1287 ],
1288 "publication_date": {
1289 "publication_year": "2001"
1290 },
1291 "relation_list": [
1292 {
1293 "content": "https://www.jstage.jst.go.jp/article/jsts/17/2/17_2_1/_pdf",
1294 "type": "URL",
1295 "relation": "fullTextPdf"
1296 }
1297 ],
1298 "content_language": "en",
1299 "updated_date": "2014-12-09",
1300 "article_type": "pub",
1301 "journal_id_list": [
1302 {
1303 "journal_id": "0911-551X",
1304 "type": "ISSN",
1305 "issn_type": "print"
1306 },
1307 {
1308 "journal_id": "2186-4772",
1309 "type": "ISSN",
1310 "issn_type": "online"
1311 },
1312 {
1313 "journal_id": "jsts",
1314 "type": "JID"
1315 }
1316 ],
1317 "journal_title_name_list": [
1318 {
1319 "journal_title_name": "The Journal of Space Technology and Science",
1320 "type": "full",
1321 "lang": "en"
1322 },
1323 {
1324 "journal_title_name": "JSTS",
1325 "type": "abbreviation",
1326 "lang": "en"
1327 }
1328 ],
1329 "journal_classification": "01",
1330 "journal_txt_lang": "en",
1331 "recorded_year": "1985-2013",
1332 "volume": "17",
1333 "issue": "2",
1334 "first_page": "2_1",
1335 "last_page": "2_7",
1336 "date": "2013-08-21",
1337 "keyword_list": [
1338 {
1339 "keyword": "Microgravity",
1340 "sequence": "1",
1341 "lang": "en"
1342 },
1343 {
1344 "keyword": "Diamond synthesis",
1345 "sequence": "2",
1346 "lang": "en"
1347 }
1348 ],
1349 "citation_list": [
1350 {
1351 "sequence": "1",
1352 "doi": "10.1063/1.1656693",
1353 "volume": "39",
1354 "first_page": "2915",
1355 "publication_date": {
1356 "publication_year": "1968"
1357 },
1358 "original_text": "1) J. C. Angus, H. A. Will and W S. Stanko: Journal of Applied Physics 39, 2915 (1968)."
1359 },
1360 {
1361 "sequence": "2",
1362 "doi": "10.1016/0022-0248(83)90411-6",
1363 "journal_title_name_list": [
1364 {
1365 "journal_title_name": "Journal of Crystal Growth",
1366 "lang": "ja"
1367 }
1368 ],
1369 "volume": "62",
1370 "first_page": "642",
1371 "publication_date": {
1372 "publication_year": "1983"
1373 },
1374 "content_language": "ja",
1375 "original_text": "2) M. Kamo, Y. Sato, S. Matsumoto, H. Setaka: Journal of Crystal Growth 62, 642 (1983)."
1376 },
1377 {
1378 "sequence": "3",
1379 "original_text": "3) Genchi. Y, Yasuda and T. Komiyama. H: International Chemical Engineering 32(3), 560-569 (1992)."
1380 },
1381 {
1382 "sequence": "3",
1383 "original_text": "4) Tsang. R S. May: International Chemical Engineering 32(3), 560-569 (1992)."
1384 },
1385 {
1386 "sequence": "4",
1387 "original_text": "3) Genchi. Y, Yasuda and T. Komiyama. H: International Chemical Engineering 32(3), 560-569 (1992)."
1388 },
1389 {
1390 "sequence": "4",
1391 "original_text": "4) Tsang. R S. May: International Chemical Engineering 32(3), 560-569 (1992)."
1392 },
1393 {
1394 "sequence": "5",
1395 "original_text": "5) Y. Hirose: Proceeding of 1 st International Conference for New Diamond Science and Technology P.51, KTK Terra Publish. (Tokyo, 1988)."
1396 },
1397 {
1398 "sequence": "6",
1399 "original_text": "6) Y. Takagi, S. Sato, K. Kaigawa, A. B. Sawaoka and L. L. Regel: Microgravity Quaterly, 2(1), 39-42 (1992)."
1400 },
1401 {
1402 "sequence": "7",
1403 "original_text": "7) S. Sato, K. Kaigawa, Y. Takagi, Y. Hirose and A. B. Sawaoka: Journal of the Japan Society of Microgravity Application 10(1), 38-45 (1993)."
1404 },
1405 {
1406 "sequence": "8",
1407 "original_text": "8) Y. Tanabe, K. Kaigawa, Y. Takagi and A. B. Sawaoka: Journal of the Japan Society of Microgravity Application 11(2), 71-79 ( 1994)."
1408 },
1409 {
1410 "sequence": "9",
1411 "original_text": "9) Y. Takagi, K. Hibiya and H. Takeuchi: Journal of the Japan Society of Microgravity Application 13(4), 225-233 (1996)."
1412 },
1413 {
1414 "sequence": "10",
1415 "original_text": "10) Y. Takagi, L. L. Regel and W R Wilcox: Transaction of the Materials Research Society of Japan 24(4), 513-518 (1999)."
1416 },
1417 {
1418 "sequence": "11",
1419 "original_text": "11) Y. Takagi, L. L. Regel and W R Wilcox: Journal, of the Japan Society of Microgravity Application 15(3), 140-145 (1998)."
1420 },
1421 {
1422 "sequence": "12",
1423 "original_text": "12) Y. Takagi, M. Suzuki, H. Abe and Y. Inatomi: Journal, of the Japan Society of Microgravity Application 17(3), 159-165 (2000)."
1424 },
1425 {
1426 "sequence": "13",
1427 "original_text": "13) K. Fabisiak, et al., Diamond and Related Materials, 1(1992) pp. 77-82."
1428 },
1429 {
1430 "sequence": "14",
1431 "original_text": "14) M. Uede & Y. Takagi: J. Mater. Res., 16 (11), 3069-3072 (2001)."
1432 },
1433 {
1434 "sequence": "15",
1435 "original_text": "15) M. Okoshi, et al., Applied Surface Science, 154-155 (2000) pp.376-381."
1436 },
1437 {
1438 "sequence": "16",
1439 "original_text": "16) F. Onishi, R Hayashi, Y. Takagi, Proceedings of 2001 MRS Spring meeting, San Francisco,(submitted)."
1440 },
1441 {
1442 "sequence": "17",
1443 "doi": "10.1016/0038-1098(88)91128-3",
1444 "title_list": [
1445 {
1446 "lang": "en",
1447 "title": "Raman spectra of diamondlike amorphous carbon films."
1448 }
1449 ],
1450 "volume": "66",
1451 "issue": "11",
1452 "first_page": "1177",
1453 "last_page": "1180",
1454 "publication_date": {
1455 "publication_year": "1988"
1456 },
1457 "content_language": "en",
1458 "original_text": "17) M. Yoshikawa, G. Katagiri, H. Ishida and A. Ishitani: Solid State Communication, 66, 1177 (1988)."
1459 },
1460 {
1461 "sequence": "18",
1462 "original_text": "18) R Gat and J. C. Angus: Journal of Applied Physics 74, 5981-5989 (1993)."
1463 }
1464 ]
1465 }
1466 }
1467 entity_dict = entity_dict["data"]
1468 jalc_processor = JalcProcessing(orcid_index=IOD)
1469 jalc_processor.prefetch_doi_orcid_index([entity_dict["doi"]])
1470 authors_list = jalc_processor._extract_agents(entity_dict)
1471 authors_strings_list, _ = jalc_processor.get_agents_strings_list(entity_dict["doi"], authors_list)
1472 expected_authors_list = ['TAKAGI, Yoshiki [orcid:0000-0001-9597-7030]', 'Yoshiki, TAKAGI']
1474 self.assertEqual(authors_strings_list, expected_authors_list)
1476 def test_extract_publisher_cited_without_redis(self):
1477 item_dict = {
1478 "sequence": "11",
1479 "doi": "10.1093/comjnl/4.4.332",
1480 "content_language": "en",
1481 "original_text": "11) FRANCIS J. G. F. The QR transformation, parts I and II. Computer Journal. (1962) vol.4, 265-271, p.332-345. doi:10.1093/comjnl/4.4.332"
1482 }
1483 jalc_processor = JalcProcessing(citing=False)
1484 publisher_name = jalc_processor._extract_publisher(item_dict)
1485 self.assertEqual(publisher_name, '')
1487 def test_extract_venue(self):
1488 with open(DATA, "r", encoding="utf-8") as content:
1489 data = json.load(content)
1490 item_dict = data["data"]
1491 jalc_processor = JalcProcessing()
1492 venue_name = jalc_processor._extract_venue(item_dict)
1493 self.assertEqual(venue_name, 'The Journal of Space Technology and Science [issn:0911-551X issn:2186-4772 jid:jsts]')
1496 def test_extract_venue_without_full(self):
1497 item_dict = {
1498 "status": "OK",
1499 "apiType": "doi",
1500 "apiVersion": "1.0.0",
1501 "message": {
1502 "total": 1,
1503 "rows": 1,
1504 "totalPages": 1,
1505 "page": 1
1506 },
1507 "data": {
1508 "siteId": "SI/JST.JSTAGE",
1509 "content_type": "JA",
1510 "doi": "10.11230/jsts.17.1_11",
1511 "url": "https://doi.org/10.11230/jsts.17.1_11",
1512 "ra": "JaLC",
1513 "prefix": "10.11230",
1514 "site_name": "J-STAGE",
1515 "publisher_list": [
1516 {
1517 "publisher_name": "Japanese Rocket Society",
1518 "lang": "en"
1519 },
1520 {
1521 "publisher_name": "特定非営利活動法人 日本ロケット協会",
1522 "lang": "ja"
1523 }
1524 ],
1525 "title_list": [
1526 {
1527 "lang": "en",
1528 "title": "Development of an Airtight Recirculating Zooplankton Culture Device for Closed Ecological Recirculating Aquaculture System (CERAS)"
1529 }
1530 ],
1531 "creator_list": [
1532 {
1533 "sequence": "1",
1534 "type": "person",
1535 "names": [
1536 {
1537 "lang": "en",
1538 "last_name": "OMORI",
1539 "first_name": "Katsunori"
1540 }
1541 ],
1542 "affiliation_list": [
1543 {
1544 "affiliation_name": "National Aerospace Laboratory of Japan",
1545 "sequence": "1",
1546 "lang": "en"
1547 }
1548 ]
1549 },
1550 {
1551 "sequence": "2",
1552 "type": "person",
1553 "names": [
1554 {
1555 "lang": "en",
1556 "last_name": "WATANABE",
1557 "first_name": "Shigeki"
1558 }
1559 ],
1560 "affiliation_list": [
1561 {
1562 "affiliation_name": "Tokyo University of Fisheries",
1563 "sequence": "1",
1564 "lang": "en"
1565 }
1566 ]
1567 },
1568 {
1569 "sequence": "3",
1570 "type": "person",
1571 "names": [
1572 {
1573 "lang": "en",
1574 "last_name": "ENDO",
1575 "first_name": "Masato"
1576 }
1577 ],
1578 "affiliation_list": [
1579 {
1580 "affiliation_name": "Tokyo University of Fisheries",
1581 "sequence": "1",
1582 "lang": "en"
1583 }
1584 ]
1585 },
1586 {
1587 "sequence": "4",
1588 "type": "person",
1589 "names": [
1590 {
1591 "lang": "en",
1592 "last_name": "TAKEUCHI",
1593 "first_name": "Toshio"
1594 }
1595 ],
1596 "affiliation_list": [
1597 {
1598 "affiliation_name": "Tokyo University of Fisheries",
1599 "sequence": "1",
1600 "lang": "en"
1601 }
1602 ]
1603 },
1604 {
1605 "sequence": "5",
1606 "type": "person",
1607 "names": [
1608 {
1609 "lang": "en",
1610 "last_name": "OGUCHI",
1611 "first_name": "Mitsuo"
1612 }
1613 ],
1614 "affiliation_list": [
1615 {
1616 "affiliation_name": "National Aerospace Laboratory of Japan",
1617 "sequence": "1",
1618 "lang": "en"
1619 }
1620 ]
1621 }
1622 ],
1623 "publication_date": {
1624 "publication_year": "2001"
1625 },
1626 "relation_list": [
1627 {
1628 "content": "https://www.jstage.jst.go.jp/article/jsts/17/1/17_1_11/_pdf",
1629 "type": "URL",
1630 "relation": "fullTextPdf"
1631 }
1632 ],
1633 "content_language": "en",
1634 "updated_date": "2014-12-09",
1635 "article_type": "pub",
1636 "journal_id_list": [
1637 {
1638 "journal_id": "0911-551X",
1639 "type": "ISSN",
1640 "issn_type": "print"
1641 },
1642 {
1643 "journal_id": "2186-4772",
1644 "type": "ISSN",
1645 "issn_type": "online"
1646 },
1647 {
1648 "journal_id": "jsts",
1649 "type": "JID"
1650 }
1651 ],
1652 "journal_title_name_list": [
1653 {
1654 "journal_title_name": "JSTS",
1655 "type": "abbreviation",
1656 "lang": "en"
1657 }
1658 ],
1659 "journal_classification": "01",
1660 "journal_txt_lang": "en",
1661 "recorded_year": "1985-2013",
1662 "volume": "17",
1663 "issue": "1",
1664 "first_page": "1_11",
1665 "last_page": "1_17",
1666 "date": "2013-08-21",
1667 "keyword_list": [
1668 {
1669 "keyword": "CERAS",
1670 "sequence": "1",
1671 "lang": "en"
1672 },
1673 {
1674 "keyword": "Closed Ecological Recirculating Aquaculture System",
1675 "sequence": "2",
1676 "lang": "en"
1677 },
1678 {
1679 "keyword": "Airtight Recirculating Zooplankton Culture Device",
1680 "sequence": "3",
1681 "lang": "en"
1682 }
1683 ],
1684 "citation_list": [
1685 {
1686 "sequence": "1",
1687 "title_list": [
1688 {
1689 "lang": "en",
1690 "title": "Japan's activities on CELSS in space."
1691 }
1692 ],
1693 "volume": "96",
1694 "first_page": "605",
1695 "last_page": "616",
1696 "publication_date": {
1697 "publication_year": "1997"
1698 },
1699 "content_language": "en",
1700 "original_text": "1) S. Kibe and K. Suzuki: Japan’s Activities on CELSS in Space. Adv. in the Astronautical Sci., 96, 605-616 (1997)."
1701 },
1702 {
1703 "sequence": "2",
1704 "doi": "10.11450/seitaikogaku1989.10.1",
1705 "title_list": [
1706 {
1707 "lang": "en",
1708 "title": "Study on the Development of Closed Ecological Recirculating Aquaculture System(CERAS). I. Development of Fish-rearing Closed Tank."
1709 }
1710 ],
1711 "volume": "10",
1712 "issue": "1",
1713 "first_page": "1",
1714 "last_page": "4",
1715 "publication_date": {
1716 "publication_year": "1997"
1717 },
1718 "content_language": "ja",
1719 "original_text": "2) T. Takeuchi, S. Noto, G. Yoshizaki, M. Toyobe, R. Kanki, M. Oguchi, S Kibe, and H. Tanaka: Study on the Development of Closed Ecological Recirculating Aquaculture System (CERAS) 1. Development of Fish-rearing Closed Tank. CELSS J., 10(1), 1-4 (1997)."
1720 },
1721 {
1722 "sequence": "3",
1723 "volume": "352",
1724 "first_page": "59",
1725 "publication_date": {
1726 "publication_year": "1997"
1727 },
1728 "original_text": "3) M. I. Gladyshev, A. P. Tolomeev and A. G. Degermendzhi: Dependence on Growth Rate of Moina macrocopa on the Concentration of Chlorella vulgaris in Differential-flow and Closed Fermenters. Doklady Biological. Sci., 352, 59-61 (1997)."
1729 },
1730 {
1731 "sequence": "4",
1732 "volume": "25",
1733 "first_page": "1",
1734 "publication_date": {
1735 "publication_year": "1991"
1736 },
1737 "original_text": "4) J. Urabe: Effect of Food Concentration on Growth, Reproduction and Survivorship of Bosmina longirostris (Cladocera): an Experiment Study. Freshwater Biol., 25, 1-8 (1991)."
1738 },
1739 {
1740 "sequence": "5",
1741 "original_text": "5) K. Omori, T. Takeuchi, and M. Oguchi: The Trial Model of the Recirculating Zooplankton-culture System. Eco-Engineering, 14(2), (2002) in press."
1742 },
1743 {
1744 "sequence": "6",
1745 "volume": "25",
1746 "issue": "4",
1747 "first_page": "134",
1748 "publication_date": {
1749 "publication_year": "1978"
1750 },
1751 "original_text": "6) T. Mochizuki, H. Shimizu, M. Tanaka, and K. Endo: Studies on Growth of Zooplankton. 1. Growth Rate of Batch Culture. Aqriculture, 25(4), 134-137 (1978)."
1752 },
1753 {
1754 "sequence": "7",
1755 "volume": "7",
1756 "issue": "11",
1757 "first_page": "44",
1758 "publication_date": {
1759 "publication_year": "1970"
1760 },
1761 "original_text": "7) S. Kitamura: Nutrition and Production of Daphnid. Fish Culture. 7(11), 44-49 (1970)."
1762 },
1763 {
1764 "sequence": "8",
1765 "volume": "18",
1766 "issue": "7",
1767 "first_page": "66",
1768 "publication_date": {
1769 "publication_year": "1981"
1770 },
1771 "original_text": "8) A. Oka: The Culture of Freshwater Daphnid. Fish Culture, 18(7), 66-68 (1981)."
1772 },
1773 {
1774 "sequence": "9",
1775 "first_page": "737pp",
1776 "publication_date": {
1777 "publication_year": "1991"
1778 },
1779 "original_text": "9) Agriculture, Forestry and Fisheries Research Council Secretariat, Ministry of Agriculture, Forestry and Fisheries (ed.): Biomass Conversion Program -Utilize Abundant Resources-, KORIN Publishing, Co., Ltd., Tokyo, 737pp (1991)."
1780 }
1781 ]
1782 }
1783 }
1784 jalc_processor = JalcProcessing()
1785 venue_name = jalc_processor._extract_venue(item_dict["data"])
1786 self.assertEqual(venue_name, 'JSTS [issn:0911-551X issn:2186-4772 jid:jsts]')
1788 def test_extract_pages_with_underscore(self):
1789 # first_page: 1_34, last_page: 1_48
1790 item_dict = {
1791 "status": "OK",
1792 "apiType": "doi",
1793 "apiVersion": "1.0.0",
1794 "message": {
1795 "total": 1,
1796 "rows": 1,
1797 "totalPages": 1,
1798 "page": 1
1799 },
1800 "data": {
1801 "siteId": "SI/JST.JSTAGE",
1802 "content_type": "JA",
1803 "doi": "10.11230/jsts.18.1_34",
1804 "url": "https://doi.org/10.11230/jsts.18.1_34",
1805 "ra": "JaLC",
1806 "prefix": "10.11230",
1807 "site_name": "J-STAGE",
1808 "publisher_list": [
1809 {
1810 "publisher_name": "Japanese Rocket Society",
1811 "lang": "en"
1812 },
1813 {
1814 "publisher_name": "特定非営利活動法人 日本ロケット協会",
1815 "lang": "ja"
1816 }
1817 ],
1818 "title_list": [
1819 {
1820 "lang": "en",
1821 "title": "Atomic Oxygen Protections in Polymeric Systems: A Review"
1822 }
1823 ],
1824 "creator_list": [
1825 {
1826 "sequence": "1",
1827 "type": "person",
1828 "names": [
1829 {
1830 "lang": "en",
1831 "last_name": "RIMDUSIT",
1832 "first_name": "Sarawut"
1833 }
1834 ],
1835 "affiliation_list": [
1836 {
1837 "affiliation_name": "Chulalongkorn University",
1838 "sequence": "1",
1839 "lang": "en"
1840 }
1841 ]
1842 },
1843 {
1844 "sequence": "2",
1845 "type": "person",
1846 "names": [
1847 {
1848 "lang": "en",
1849 "last_name": "YOKOTA",
1850 "first_name": "Rikio"
1851 }
1852 ],
1853 "affiliation_list": [
1854 {
1855 "affiliation_name": "Chulalongkorn University",
1856 "sequence": "1",
1857 "lang": "en"
1858 }
1859 ]
1860 }
1861 ],
1862 "publication_date": {
1863 "publication_year": "2002"
1864 },
1865 "relation_list": [
1866 {
1867 "content": "https://www.jstage.jst.go.jp/article/jsts/18/1/18_1_34/_pdf",
1868 "type": "URL",
1869 "relation": "fullTextPdf"
1870 }
1871 ],
1872 "content_language": "en",
1873 "updated_date": "2014-12-09",
1874 "article_type": "pub",
1875 "journal_id_list": [
1876 {
1877 "journal_id": "0911-551X",
1878 "type": "ISSN",
1879 "issn_type": "print"
1880 },
1881 {
1882 "journal_id": "2186-4772",
1883 "type": "ISSN",
1884 "issn_type": "online"
1885 },
1886 {
1887 "journal_id": "jsts",
1888 "type": "JID"
1889 }
1890 ],
1891 "journal_title_name_list": [
1892 {
1893 "journal_title_name": "The Journal of Space Technology and Science",
1894 "type": "full",
1895 "lang": "en"
1896 },
1897 {
1898 "journal_title_name": "JSTS",
1899 "type": "abbreviation",
1900 "lang": "en"
1901 }
1902 ],
1903 "journal_classification": "01",
1904 "journal_txt_lang": "en",
1905 "recorded_year": "1985-2013",
1906 "volume": "18",
1907 "issue": "1",
1908 "first_page": "1_34",
1909 "last_page": "1_48",
1910 "date": "2013-08-18",
1911 "keyword_list": [
1912 {
1913 "keyword": "Atomic Oxygen",
1914 "sequence": "1",
1915 "lang": "en"
1916 },
1917 {
1918 "keyword": "Immiscible Blends",
1919 "sequence": "2",
1920 "lang": "en"
1921 },
1922 {
1923 "keyword": "Phosphorus-containing Polyimide",
1924 "sequence": "3",
1925 "lang": "en"
1926 },
1927 {
1928 "keyword": "Silicon-containing Polyimide",
1929 "sequence": "4",
1930 "lang": "en"
1931 },
1932 {
1933 "keyword": "MLI",
1934 "sequence": "5",
1935 "lang": "en"
1936 }
1937 ],
1938 "citation_list": [
1939 {
1940 "sequence": "1",
1941 "original_text": "1) R. Yokota, Aerospace Materials, Chapter 5, B. Cantor, H. Assender, and P. Grant, eds., Institute ofPhysics Publishing, Bristol (2001) p. 47."
1942 },
1943 {
1944 "sequence": "2",
1945 "original_text": "2) C.K. Krishnaprakas, K. Badari Narayana, and Pradip Dutta, Cryogenics, 40 (2000) p.431."
1946 },
1947 {
1948 "sequence": "3",
1949 "doi": "10.2494/photopolymer.12.209",
1950 "title_list": [
1951 {
1952 "lang": "en",
1953 "title": "Recent Trends and Space Applications of Poylmides."
1954 }
1955 ],
1956 "volume": "12",
1957 "issue": "2",
1958 "first_page": "209",
1959 "last_page": "216",
1960 "publication_date": {
1961 "publication_year": "1999"
1962 },
1963 "creator_list": [
1964 {
1965 "sequence": "1",
1966 "type": "person",
1967 "names": [
1968 {
1969 "lang": "en",
1970 "last_name": "YOKOTA",
1971 "first_name": "RIKIO"
1972 }
1973 ]
1974 }
1975 ],
1976 "content_language": "en",
1977 "original_text": "3) R. Yokota, J. Photopolym. Sci. Tech., 12 (1999) p.209."
1978 },
1979 {
1980 "sequence": "4",
1981 "original_text": "4) E.M. Silverman, Environmental Effects on Spacecraft: LEO Materials Selection Guide, NASA Contractor Report 4661Part1 and Part 2 (1995)."
1982 },
1983 {
1984 "sequence": "5",
1985 "first_page": "1999",
1986 "publication_date": {
1987 "publication_year": "1999"
1988 },
1989 "original_text": "5) D. Dooling and M.M. Finckenor, Material Selection Guidelines to Limit Atomic Oxygen Effects on Spacecraft Surfaces, NASA/TP-1999-209260 (1999)."
1990 },
1991 {
1992 "sequence": "6",
1993 "original_text": "6) E. Grossman, and I. Gouzman, Nuclear Instruments cind Methods in Physics Research B (2003) in press."
1994 },
1995 {
1996 "sequence": "7",
1997 "original_text": "7) R. Yokota, A. Ohnishi, Y. Hashimoto, K. Toki, S. Kuroda, K. Akahori, and H. Nagano, Proc. 7th Materials in Space Environment, Toulouse, France, 16-20 Jurie 1997, p.293."
1998 },
1999 {
2000 "sequence": "8",
2001 "title_list": [
2002 {
2003 "lang": "en",
2004 "title": "Atomic oxygen effects on polymer-based materials."
2005 }
2006 ],
2007 "volume": "69",
2008 "issue": "8/9",
2009 "first_page": "1190",
2010 "last_page": "1208",
2011 "publication_date": {
2012 "publication_year": "1991"
2013 },
2014 "content_language": "en",
2015 "original_text": "8) RC. Tennyson, Can. J. Phys., 69 (1991) p.1190."
2016 },
2017 {
2018 "sequence": "9",
2019 "original_text": "9) R.H. Hansen, J.V. Pascale, T. De Benedictis, and P.M. Rentzepis, J. Polym. Sci.: Part A, 3 (1965) p.2205."
2020 },
2021 {
2022 "sequence": "10",
2023 "doi": "10.1007/BF00354389",
2024 "title_list": [
2025 {
2026 "lang": "en",
2027 "title": "Effect of low earth orbit atomic oxygen on spacecraft materials."
2028 }
2029 ],
2030 "volume": "30",
2031 "issue": "2",
2032 "first_page": "281",
2033 "last_page": "307",
2034 "publication_date": {
2035 "publication_year": "1995"
2036 },
2037 "content_language": "en",
2038 "original_text": "10) M. Raja Reddy, J. Mat. Sci., 30 (1995) p.281."
2039 },
2040 {
2041 "sequence": "11",
2042 "doi": "10.1007/BF00354390",
2043 "title_list": [
2044 {
2045 "lang": "en",
2046 "title": "Atomic oxygen resistant coatings for low earth orbit space structures."
2047 }
2048 ],
2049 "volume": "30",
2050 "issue": "2",
2051 "first_page": "308",
2052 "last_page": "320",
2053 "publication_date": {
2054 "publication_year": "1995"
2055 },
2056 "content_language": "en",
2057 "original_text": "11) S. Packirisamy, D. Schwam, and M.H. Litt, J. Mat. Sci., 30 (1995) p.308."
2058 },
2059 {
2060 "sequence": "12",
2061 "original_text": "12) L.L. Fewell, J. Appl. Polym. Sci., 41 (1990) p.391."
2062 },
2063 {
2064 "sequence": "13",
2065 "original_text": "13) M. Raja Reddy, N. Srinivasamurthy, and B.L. Agrawal, ESA J., 16 (1992) p.193."
2066 },
2067 {
2068 "sequence": "14",
2069 "doi": "10.1088/0954-0083/11/1/013",
2070 "title_list": [
2071 {
2072 "lang": "en",
2073 "title": "Protection of polymetric materials from atomic oxygen."
2074 }
2075 ],
2076 "volume": "11",
2077 "issue": "1",
2078 "first_page": "157",
2079 "last_page": "165",
2080 "publication_date": {
2081 "publication_year": "1999"
2082 },
2083 "content_language": "en",
2084 "original_text": "14) RC. Tennyson, High Perform. Polym., 11 (1999) p.157."
2085 },
2086 {
2087 "sequence": "15",
2088 "original_text": "15) Y. Huang, J. Liu, I. Ball, and T.K. Minton, Proc. SAMPE 2002, May 12-16, 2002, Long Beach, California, p.1788."
2089 },
2090 {
2091 "sequence": "16",
2092 "original_text": "16) B.A. Banks, and R. Demko, Proc. SAMPE 2002, May 12-16, 2002, Long Beach, California, p.820."
2093 },
2094 {
2095 "sequence": "17",
2096 "original_text": "17) M.L. lliingsworth, J.A. Betancourt, L. He, Y. Chen, J.A. Terschak, B.A. Banks, S.K. Rutledge, and M. Cales, NASAITM-2001-211099 (2001)."
2097 },
2098 {
2099 "sequence": "18",
2100 "original_text": "18) R.L. Kiefer, RA. Anderson, M.H.Y. Kim, and S.A. Thibeault, Nuclear Instruments and Methods in Physics Research B, (2003) in press."
2101 },
2102 {
2103 "sequence": "19",
2104 "volume": "2002",
2105 "issue": "14",
2106 "first_page": "2002",
2107 "publication_date": {
2108 "publication_year": "2002"
2109 },
2110 "original_text": "19) C. Park, Z. Ounaies, K.A. Watson, K. Pawlowski, S.E. Lowther, J.W. Connell, E.J. Siochi, J.S. Harrison, and T.L. St Clair, NASA/CR-2002-211940 (2002)."
2111 },
2112 {
2113 "sequence": "20",
2114 "original_text": "20) Y. Huang, J. Liu, I. Ball, and T.K. Minton, Proc. SAMPE 2002, May 12-16, 2002, Long Beach, California, p.1788."
2115 },
2116 {
2117 "sequence": "21",
2118 "doi": "10.1177/0954008303015002003",
2119 "volume": "15",
2120 "first_page": "181",
2121 "publication_date": {
2122 "publication_year": "2003"
2123 },
2124 "original_text": "21) C.M. Thompson, J.G. Smith, Jr., andJ.W. Connell, High Perform. Polym., 15 (2003) p.181."
2125 },
2126 {
2127 "sequence": "22",
2128 "original_text": "22) K.A. Watson, and J.W. Connell, Proc. Fluoropolymer 2000, Savanah, Georgia, October 15.18, 2000."
2129 },
2130 {
2131 "sequence": "23",
2132 "original_text": "23) J.G. Smith Jr., J.W. Connell, and P.M. Hergenrother, Polymer, 35 (1994) p.2834."
2133 },
2134 {
2135 "sequence": "24",
2136 "original_text": "24) K.K. de Groh, B.A. Banks, and R. Demko, Proc. 47th Int. SAMPE Symp. Exh., B.M. Rasmussen, L.A. Pilato, and H.S. Kliger, Eds., Long Beach, Califonia, May 12-16, 2002, p.1279."
2137 },
2138 {
2139 "sequence": "25",
2140 "doi": "10.1021/ma0201779",
2141 "title_list": [
2142 {
2143 "lang": "en",
2144 "title": "Space Environmentally Stable Polyimides and Copolyimides Derived from [2,4-Bis(3-aminophenoxy)phenyl]diphenylphosphine Oxide."
2145 }
2146 ],
2147 "volume": "35",
2148 "issue": "13",
2149 "first_page": "4968",
2150 "last_page": "4974",
2151 "publication_date": {
2152 "publication_year": "2002"
2153 },
2154 "content_language": "en",
2155 "original_text": "25) K.A. Watson, F.L. Palmteri, and J.W. Connell, Macromolecules, 35 (2002) p.4968."
2156 },
2157 {
2158 "sequence": "25",
2159 "doi": "10.1021/ma0201779",
2160 "title_list": [
2161 {
2162 "lang": "en",
2163 "title": "Space Environmentally Stable Polyimides and Copolyimides Derived from [2,4-Bis(3-aminophenoxy)phenyl]diphenylphosphine Oxide."
2164 }
2165 ],
2166 "volume": "35",
2167 "issue": "13",
2168 "first_page": "4968",
2169 "last_page": "4974",
2170 "publication_date": {
2171 "publication_year": "2002"
2172 },
2173 "content_language": "en",
2174 "original_text": "46) K.A. Watson, F.L. Palmieri, and J.W. Connell, Macromolecules, 35 (2002) p.4968."
2175 },
2176 {
2177 "sequence": "26",
2178 "doi": "10.1246/cl.1997.333",
2179 "title_list": [
2180 {
2181 "lang": "en",
2182 "title": "In situ Formed Three Layer Film by Isomerization of Fluorinated Polyisoimide in Polyethersulfone as a Matrix Polymer."
2183 }
2184 ],
2185 "issue": "4",
2186 "first_page": "333",
2187 "last_page": "334",
2188 "publication_date": {
2189 "publication_year": "1997"
2190 },
2191 "creator_list": [
2192 {
2193 "sequence": "1",
2194 "type": "person",
2195 "names": [
2196 {
2197 "lang": "en",
2198 "last_name": "Mochizuki",
2199 "first_name": "Amane"
2200 }
2201 ],
2202 "affiliation_list": [
2203 {
2204 "affiliation_name": "Department of Materials Science and Engineering, Faculty of Engineering, Yamagata University",
2205 "sequence": "1",
2206 "lang": "en"
2207 }
2208 ]
2209 },
2210 {
2211 "sequence": "2",
2212 "type": "person",
2213 "names": [
2214 {
2215 "lang": "en",
2216 "last_name": "Yamada",
2217 "first_name": "Kazuo"
2218 }
2219 ],
2220 "affiliation_list": [
2221 {
2222 "affiliation_name": "Department of Materials Science and Engineering, Faculty of Engineering, Yamagata University",
2223 "sequence": "1",
2224 "lang": "en"
2225 }
2226 ]
2227 },
2228 {
2229 "sequence": "3",
2230 "type": "person",
2231 "names": [
2232 {
2233 "lang": "en",
2234 "last_name": "Ueda",
2235 "first_name": "Mitsuru"
2236 }
2237 ],
2238 "affiliation_list": [
2239 {
2240 "affiliation_name": "Department of Materials Science and Engineering, Faculty of Engineering, Yamagata University",
2241 "sequence": "1",
2242 "lang": "en"
2243 }
2244 ]
2245 },
2246 {
2247 "sequence": "4",
2248 "type": "person",
2249 "names": [
2250 {
2251 "lang": "en",
2252 "last_name": "Yokota",
2253 "first_name": "Rikio"
2254 }
2255 ],
2256 "affiliation_list": [
2257 {
2258 "affiliation_name": "Institute of Space and Astronautical Science",
2259 "sequence": "1",
2260 "lang": "en"
2261 }
2262 ]
2263 }
2264 ],
2265 "content_language": "en",
2266 "original_text": "26) A. Mochizuki, K. Yamada, M. Ueda, and R. Yokota, Chem. Letts. (1997) 333."
2267 },
2268 {
2269 "sequence": "27",
2270 "original_text": "27) K.K. de Groh, J.R. Gaier, R.L. Hall, M.J. Norris, M.P. Espe, and D.R. Cato, Effects of Heating on Teflon FEP Thermal Control Material from the Hubble Space Telescope, NASAITM-2000-209085 (2000)."
2271 },
2272 {
2273 "sequence": "28",
2274 "original_text": "28) K.K. de Groh, and D.C. Smith, Investigation of Teflon FEP Embrittlement on Spacecraft in Low Earth Orbit, NASAITM-113153 (1997)."
2275 },
2276 {
2277 "sequence": "29",
2278 "doi": "10.1126/science.2563171",
2279 "title_list": [
2280 {
2281 "lang": "en",
2282 "title": "Effects of buried ionizable amino acids on the reduction potential of recombinant myoglobin."
2283 }
2284 ],
2285 "volume": "243",
2286 "issue": "4887",
2287 "first_page": "69",
2288 "last_page": "72",
2289 "publication_date": {
2290 "publication_year": "1989"
2291 },
2292 "content_language": "en",
2293 "original_text": "29) McGrath, D. Chen, and J.E. McGrath, Polyimides: Materials, Chemistry and Characterization, C. Feger, M.M. Khojasteh, and J.E. McGrath, eds., Elsevier Science Publishers B.V., Amsterdam (1989) p.69."
2294 },
2295 {
2296 "sequence": "30",
2297 "original_text": "30) J. Visentine, W. Kinard, D. Brinker, B.A Banks, and K. Albyn, J. Spacecraft and Rockets, 39 (2002) p.187."
2298 },
2299 {
2300 "sequence": "31",
2301 "original_text": "31) B.A. Banks, K.K. de Groh, S.K. Rutledge, and C.A. Haytas, Consequences of Atomic Oxygen Interaction with Silicone and Silicone Contamination on Surfaces in Low Earth Orbit, NASAITM-1999-209179 (1999)."
2302 },
2303 {
2304 "sequence": "32",
2305 "original_text": "32) N. Furukawa, Y. Yamada, M. Furukawa, M. Yuasa, and Y. Kimura, J. Polym. Sci., Part A: Polym. Chem., 35 (1997) p.2239."
2306 },
2307 {
2308 "sequence": "33",
2309 "original_text": "33) NASDA Rep. No. AU9-R02-K108 (2003)."
2310 },
2311 {
2312 "sequence": "34",
2313 "original_text": "34) G.B. Hoflund, RI. Gonzalez, and S.H. Phillips, J. Adhesion Sci. Technol., 15 (2001) p.1199."
2314 },
2315 {
2316 "sequence": "35",
2317 "original_text": "35) S.H. Phillips, RI. Gonzalez, R.L. Blanski, B.D. Viers, and G.B. Hoflund, Proc. SAMPE 2002, May 12-16, 2002, Long Beach, California, p.1488."
2318 },
2319 {
2320 "sequence": "36",
2321 "original_text": "36) RI. Ganzalez, Ph.D. Disseration, University ofFlorida, Gainesville, Florida (2002)."
2322 },
2323 {
2324 "sequence": "37",
2325 "original_text": "37) RI. Gonzalex, G.B. Holfund, S.A. Svejda, S.H. Phillips, and B.V. Viers, submitted to Macromolecules."
2326 },
2327 {
2328 "sequence": "38",
2329 "original_text": "38) J.E. McGrath et.al. US Pat. 5,420,225 (1995), US Pat. 5,407,528 (1995), US Pat. 5,387,629 (1995), and US. Pat. 5,134,207 (1992)."
2330 },
2331 {
2332 "sequence": "39",
2333 "doi": "10.1016/0032-3861(95)90668-R",
2334 "title_list": [
2335 {
2336 "lang": "en",
2337 "title": "Oxygen plasma-resistant phenylphosphine oxide-containing polyimides and poly(arylene ether heterocycle)s. 1."
2338 }
2339 ],
2340 "volume": "36",
2341 "issue": "1",
2342 "first_page": "5",
2343 "last_page": "11",
2344 "publication_date": {
2345 "publication_year": "1995"
2346 },
2347 "content_language": "en",
2348 "original_text": "39) J.W. Connell, J.G. Smith Jr., and P.M. Hergenrother, Polymer, 36 (1995) p.5."
2349 },
2350 {
2351 "sequence": "40",
2352 "doi": "10.1016/0032-3861(95)90669-S",
2353 "title_list": [
2354 {
2355 "lang": "en",
2356 "title": "Oxgen plasma-resistant phenylphosphine oxide-containing polyimides and poly(arylene ether heterocycle)s. 2."
2357 }
2358 ],
2359 "volume": "36",
2360 "issue": "1",
2361 "first_page": "13",
2362 "last_page": "19",
2363 "publication_date": {
2364 "publication_year": "1995"
2365 },
2366 "content_language": "en",
2367 "original_text": "40) J.W. Connell, J.G. Smith Jr., and P.M. Hergenrother, Polymer, 36 (1995) p.13."
2368 },
2369 {
2370 "sequence": "41",
2371 "original_text": "41) P. Schuler, R. Haghighat, and H. Mojazza, High Perform. Polym., 11 (1999) p.113."
2372 },
2373 {
2374 "sequence": "42",
2375 "original_text": "42) J.W. Connell, The Effect of Low Earth Orbit Atomic Oxygen Exposure on Phenylphosphine Oxide-Containing Polymers, 44th International SAMPE Symposium and Exhibition, Long Beach, California, May 23-27, 1999."
2376 },
2377 {
2378 "sequence": "43",
2379 "doi": "10.1088/0954-0083/11/1/008",
2380 "title_list": [
2381 {
2382 "lang": "en",
2383 "title": "Electrically conductive space-durable polymeric films for spacecraft thermal and charge control."
2384 }
2385 ],
2386 "volume": "11",
2387 "issue": "1",
2388 "first_page": "101",
2389 "last_page": "111",
2390 "publication_date": {
2391 "publication_year": "1999"
2392 },
2393 "content_language": "en",
2394 "original_text": "43) J. Lennhoff, G. Harris, J. Vaughn, D. Edwards, and J. Zwiener, High Perform. Polym., 11 (1999) p.101."
2395 },
2396 {
2397 "sequence": "44",
2398 "original_text": "44) T.C. Chang,, K.H. Wu, and Y.S. Chiu, Polym. Degrad Stability, 63 (1999) p.103."
2399 },
2400 {
2401 "sequence": "45",
2402 "doi": "10.1016/S0032-3861(02)00362-2",
2403 "original_text": "45) P.M. Hergenrother, K.A. Watson, J.G. Smith Jr., J.W. Connell, and R. Yokota, Polymer, 43 (2002) p.5077."
2404 },
2405 {
2406 "sequence": "46",
2407 "doi": "10.1021/ma0201779",
2408 "title_list": [
2409 {
2410 "lang": "en",
2411 "title": "Space Environmentally Stable Polyimides and Copolyimides Derived from [2,4-Bis(3-aminophenoxy)phenyl]diphenylphosphine Oxide."
2412 }
2413 ],
2414 "volume": "35",
2415 "issue": "13",
2416 "first_page": "4968",
2417 "last_page": "4974",
2418 "publication_date": {
2419 "publication_year": "2002"
2420 },
2421 "content_language": "en",
2422 "original_text": "25) K.A. Watson, F.L. Palmteri, and J.W. Connell, Macromolecules, 35 (2002) p.4968."
2423 },
2424 {
2425 "sequence": "46",
2426 "doi": "10.1021/ma0201779",
2427 "title_list": [
2428 {
2429 "lang": "en",
2430 "title": "Space Environmentally Stable Polyimides and Copolyimides Derived from [2,4-Bis(3-aminophenoxy)phenyl]diphenylphosphine Oxide."
2431 }
2432 ],
2433 "volume": "35",
2434 "issue": "13",
2435 "first_page": "4968",
2436 "last_page": "4974",
2437 "publication_date": {
2438 "publication_year": "2002"
2439 },
2440 "content_language": "en",
2441 "original_text": "46) K.A. Watson, F.L. Palmieri, and J.W. Connell, Macromolecules, 35 (2002) p.4968."
2442 },
2443 {
2444 "sequence": "47",
2445 "original_text": "47) K.A. Watson, and J.W. Connell, Space Environmentally Stable Polyimides and Copolyimides, 45th International SAMPE Symposium and Exhibit, Long Beach, California, May 21-25, 2000."
2446 },
2447 {
2448 "sequence": "48",
2449 "original_text": "48) C. M. Thompson, J. G. Smith, Jr., K. A. Watson and J. W. Connell, Polyimides Containing Pendent Phosphine Oxide Groups for Space Applications, 34th International SAMPE Technical Conference, Baltimore, Maryland, November 4-7, 2002."
2450 },
2451 {
2452 "sequence": "49",
2453 "original_text": "49) H. Zhuang, Ph.D. Dissertation, Virginia Polytechnic Institute and State University, Blacksburg, Virginir (1998)."
2454 },
2455 {
2456 "sequence": "50",
2457 "original_text": "50) S. Wang, Ph.D. Dissertation, Virginia Polytechnic Institute and State University, Blacksburg, Virginir (2000)."
2458 },
2459 {
2460 "sequence": "51",
2461 "original_text": "51) S. Y. Lu, and I. Hamerton, Prag. Polym. Sci., 27 (2002) p.1661."
2462 }
2463 ]
2464 }
2465 }
2466 jalc_processor = JalcProcessing()
2467 pages = jalc_processor._extract_pages(item_dict["data"])
2468 self.assertEqual(pages, '1_34-1_48')
2471 def test_extract_pages_wrong_letter(self):
2472 #first_page: 1_34b
2473 item_dict = {
2474 "status": "OK",
2475 "apiType": "doi",
2476 "apiVersion": "1.0.0",
2477 "message": {
2478 "total": 1,
2479 "rows": 1,
2480 "totalPages": 1,
2481 "page": 1
2482 },
2483 "data": {
2484 "siteId": "SI/JST.JSTAGE",
2485 "content_type": "JA",
2486 "doi": "10.11230/jsts.18.1_34",
2487 "url": "https://doi.org/10.11230/jsts.18.1_34",
2488 "ra": "JaLC",
2489 "prefix": "10.11230",
2490 "site_name": "J-STAGE",
2491 "publisher_list": [
2492 {
2493 "publisher_name": "Japanese Rocket Society",
2494 "lang": "en"
2495 },
2496 {
2497 "publisher_name": "特定非営利活動法人 日本ロケット協会",
2498 "lang": "ja"
2499 }
2500 ],
2501 "title_list": [
2502 {
2503 "lang": "en",
2504 "title": "Atomic Oxygen Protections in Polymeric Systems: A Review"
2505 }
2506 ],
2507 "creator_list": [
2508 {
2509 "sequence": "1",
2510 "type": "person",
2511 "names": [
2512 {
2513 "lang": "en",
2514 "last_name": "RIMDUSIT",
2515 "first_name": "Sarawut"
2516 }
2517 ],
2518 "affiliation_list": [
2519 {
2520 "affiliation_name": "Chulalongkorn University",
2521 "sequence": "1",
2522 "lang": "en"
2523 }
2524 ]
2525 },
2526 {
2527 "sequence": "2",
2528 "type": "person",
2529 "names": [
2530 {
2531 "lang": "en",
2532 "last_name": "YOKOTA",
2533 "first_name": "Rikio"
2534 }
2535 ],
2536 "affiliation_list": [
2537 {
2538 "affiliation_name": "Chulalongkorn University",
2539 "sequence": "1",
2540 "lang": "en"
2541 }
2542 ]
2543 }
2544 ],
2545 "publication_date": {
2546 "publication_year": "2002"
2547 },
2548 "relation_list": [
2549 {
2550 "content": "https://www.jstage.jst.go.jp/article/jsts/18/1/18_1_34/_pdf",
2551 "type": "URL",
2552 "relation": "fullTextPdf"
2553 }
2554 ],
2555 "content_language": "en",
2556 "updated_date": "2014-12-09",
2557 "article_type": "pub",
2558 "journal_id_list": [
2559 {
2560 "journal_id": "0911-551X",
2561 "type": "ISSN",
2562 "issn_type": "print"
2563 },
2564 {
2565 "journal_id": "2186-4772",
2566 "type": "ISSN",
2567 "issn_type": "online"
2568 },
2569 {
2570 "journal_id": "jsts",
2571 "type": "JID"
2572 }
2573 ],
2574 "journal_title_name_list": [
2575 {
2576 "journal_title_name": "The Journal of Space Technology and Science",
2577 "type": "full",
2578 "lang": "en"
2579 },
2580 {
2581 "journal_title_name": "JSTS",
2582 "type": "abbreviation",
2583 "lang": "en"
2584 }
2585 ],
2586 "journal_classification": "01",
2587 "journal_txt_lang": "en",
2588 "recorded_year": "1985-2013",
2589 "volume": "18",
2590 "issue": "1",
2591 "first_page": "1_34b",
2592 "last_page": "1_48",
2593 "date": "2013-08-18",
2594 "keyword_list": [
2595 {
2596 "keyword": "Atomic Oxygen",
2597 "sequence": "1",
2598 "lang": "en"
2599 },
2600 {
2601 "keyword": "Immiscible Blends",
2602 "sequence": "2",
2603 "lang": "en"
2604 },
2605 {
2606 "keyword": "Phosphorus-containing Polyimide",
2607 "sequence": "3",
2608 "lang": "en"
2609 },
2610 {
2611 "keyword": "Silicon-containing Polyimide",
2612 "sequence": "4",
2613 "lang": "en"
2614 },
2615 {
2616 "keyword": "MLI",
2617 "sequence": "5",
2618 "lang": "en"
2619 }
2620 ],
2621 "citation_list": [
2622 {
2623 "sequence": "1",
2624 "original_text": "1) R. Yokota, Aerospace Materials, Chapter 5, B. Cantor, H. Assender, and P. Grant, eds., Institute ofPhysics Publishing, Bristol (2001) p. 47."
2625 },
2626 {
2627 "sequence": "2",
2628 "original_text": "2) C.K. Krishnaprakas, K. Badari Narayana, and Pradip Dutta, Cryogenics, 40 (2000) p.431."
2629 },
2630 {
2631 "sequence": "3",
2632 "doi": "10.2494/photopolymer.12.209",
2633 "title_list": [
2634 {
2635 "lang": "en",
2636 "title": "Recent Trends and Space Applications of Poylmides."
2637 }
2638 ],
2639 "volume": "12",
2640 "issue": "2",
2641 "first_page": "209",
2642 "last_page": "216",
2643 "publication_date": {
2644 "publication_year": "1999"
2645 },
2646 "creator_list": [
2647 {
2648 "sequence": "1",
2649 "type": "person",
2650 "names": [
2651 {
2652 "lang": "en",
2653 "last_name": "YOKOTA",
2654 "first_name": "RIKIO"
2655 }
2656 ]
2657 }
2658 ],
2659 "content_language": "en",
2660 "original_text": "3) R. Yokota, J. Photopolym. Sci. Tech., 12 (1999) p.209."
2661 },
2662 {
2663 "sequence": "4",
2664 "original_text": "4) E.M. Silverman, Environmental Effects on Spacecraft: LEO Materials Selection Guide, NASA Contractor Report 4661Part1 and Part 2 (1995)."
2665 },
2666 {
2667 "sequence": "5",
2668 "first_page": "1999",
2669 "publication_date": {
2670 "publication_year": "1999"
2671 },
2672 "original_text": "5) D. Dooling and M.M. Finckenor, Material Selection Guidelines to Limit Atomic Oxygen Effects on Spacecraft Surfaces, NASA/TP-1999-209260 (1999)."
2673 },
2674 {
2675 "sequence": "6",
2676 "original_text": "6) E. Grossman, and I. Gouzman, Nuclear Instruments cind Methods in Physics Research B (2003) in press."
2677 },
2678 {
2679 "sequence": "7",
2680 "original_text": "7) R. Yokota, A. Ohnishi, Y. Hashimoto, K. Toki, S. Kuroda, K. Akahori, and H. Nagano, Proc. 7th Materials in Space Environment, Toulouse, France, 16-20 Jurie 1997, p.293."
2681 },
2682 {
2683 "sequence": "8",
2684 "title_list": [
2685 {
2686 "lang": "en",
2687 "title": "Atomic oxygen effects on polymer-based materials."
2688 }
2689 ],
2690 "volume": "69",
2691 "issue": "8/9",
2692 "first_page": "1190",
2693 "last_page": "1208",
2694 "publication_date": {
2695 "publication_year": "1991"
2696 },
2697 "content_language": "en",
2698 "original_text": "8) RC. Tennyson, Can. J. Phys., 69 (1991) p.1190."
2699 },
2700 {
2701 "sequence": "9",
2702 "original_text": "9) R.H. Hansen, J.V. Pascale, T. De Benedictis, and P.M. Rentzepis, J. Polym. Sci.: Part A, 3 (1965) p.2205."
2703 },
2704 {
2705 "sequence": "10",
2706 "doi": "10.1007/BF00354389",
2707 "title_list": [
2708 {
2709 "lang": "en",
2710 "title": "Effect of low earth orbit atomic oxygen on spacecraft materials."
2711 }
2712 ],
2713 "volume": "30",
2714 "issue": "2",
2715 "first_page": "281",
2716 "last_page": "307",
2717 "publication_date": {
2718 "publication_year": "1995"
2719 },
2720 "content_language": "en",
2721 "original_text": "10) M. Raja Reddy, J. Mat. Sci., 30 (1995) p.281."
2722 },
2723 {
2724 "sequence": "11",
2725 "doi": "10.1007/BF00354390",
2726 "title_list": [
2727 {
2728 "lang": "en",
2729 "title": "Atomic oxygen resistant coatings for low earth orbit space structures."
2730 }
2731 ],
2732 "volume": "30",
2733 "issue": "2",
2734 "first_page": "308",
2735 "last_page": "320",
2736 "publication_date": {
2737 "publication_year": "1995"
2738 },
2739 "content_language": "en",
2740 "original_text": "11) S. Packirisamy, D. Schwam, and M.H. Litt, J. Mat. Sci., 30 (1995) p.308."
2741 },
2742 {
2743 "sequence": "12",
2744 "original_text": "12) L.L. Fewell, J. Appl. Polym. Sci., 41 (1990) p.391."
2745 },
2746 {
2747 "sequence": "13",
2748 "original_text": "13) M. Raja Reddy, N. Srinivasamurthy, and B.L. Agrawal, ESA J., 16 (1992) p.193."
2749 },
2750 {
2751 "sequence": "14",
2752 "doi": "10.1088/0954-0083/11/1/013",
2753 "title_list": [
2754 {
2755 "lang": "en",
2756 "title": "Protection of polymetric materials from atomic oxygen."
2757 }
2758 ],
2759 "volume": "11",
2760 "issue": "1",
2761 "first_page": "157",
2762 "last_page": "165",
2763 "publication_date": {
2764 "publication_year": "1999"
2765 },
2766 "content_language": "en",
2767 "original_text": "14) RC. Tennyson, High Perform. Polym., 11 (1999) p.157."
2768 },
2769 {
2770 "sequence": "15",
2771 "original_text": "15) Y. Huang, J. Liu, I. Ball, and T.K. Minton, Proc. SAMPE 2002, May 12-16, 2002, Long Beach, California, p.1788."
2772 },
2773 {
2774 "sequence": "16",
2775 "original_text": "16) B.A. Banks, and R. Demko, Proc. SAMPE 2002, May 12-16, 2002, Long Beach, California, p.820."
2776 },
2777 {
2778 "sequence": "17",
2779 "original_text": "17) M.L. lliingsworth, J.A. Betancourt, L. He, Y. Chen, J.A. Terschak, B.A. Banks, S.K. Rutledge, and M. Cales, NASAITM-2001-211099 (2001)."
2780 },
2781 {
2782 "sequence": "18",
2783 "original_text": "18) R.L. Kiefer, RA. Anderson, M.H.Y. Kim, and S.A. Thibeault, Nuclear Instruments and Methods in Physics Research B, (2003) in press."
2784 },
2785 {
2786 "sequence": "19",
2787 "volume": "2002",
2788 "issue": "14",
2789 "first_page": "2002",
2790 "publication_date": {
2791 "publication_year": "2002"
2792 },
2793 "original_text": "19) C. Park, Z. Ounaies, K.A. Watson, K. Pawlowski, S.E. Lowther, J.W. Connell, E.J. Siochi, J.S. Harrison, and T.L. St Clair, NASA/CR-2002-211940 (2002)."
2794 },
2795 {
2796 "sequence": "20",
2797 "original_text": "20) Y. Huang, J. Liu, I. Ball, and T.K. Minton, Proc. SAMPE 2002, May 12-16, 2002, Long Beach, California, p.1788."
2798 },
2799 {
2800 "sequence": "21",
2801 "doi": "10.1177/0954008303015002003",
2802 "volume": "15",
2803 "first_page": "181",
2804 "publication_date": {
2805 "publication_year": "2003"
2806 },
2807 "original_text": "21) C.M. Thompson, J.G. Smith, Jr., andJ.W. Connell, High Perform. Polym., 15 (2003) p.181."
2808 },
2809 {
2810 "sequence": "22",
2811 "original_text": "22) K.A. Watson, and J.W. Connell, Proc. Fluoropolymer 2000, Savanah, Georgia, October 15.18, 2000."
2812 },
2813 {
2814 "sequence": "23",
2815 "original_text": "23) J.G. Smith Jr., J.W. Connell, and P.M. Hergenrother, Polymer, 35 (1994) p.2834."
2816 },
2817 {
2818 "sequence": "24",
2819 "original_text": "24) K.K. de Groh, B.A. Banks, and R. Demko, Proc. 47th Int. SAMPE Symp. Exh., B.M. Rasmussen, L.A. Pilato, and H.S. Kliger, Eds., Long Beach, Califonia, May 12-16, 2002, p.1279."
2820 },
2821 {
2822 "sequence": "25",
2823 "doi": "10.1021/ma0201779",
2824 "title_list": [
2825 {
2826 "lang": "en",
2827 "title": "Space Environmentally Stable Polyimides and Copolyimides Derived from [2,4-Bis(3-aminophenoxy)phenyl]diphenylphosphine Oxide."
2828 }
2829 ],
2830 "volume": "35",
2831 "issue": "13",
2832 "first_page": "4968",
2833 "last_page": "4974",
2834 "publication_date": {
2835 "publication_year": "2002"
2836 },
2837 "content_language": "en",
2838 "original_text": "25) K.A. Watson, F.L. Palmteri, and J.W. Connell, Macromolecules, 35 (2002) p.4968."
2839 },
2840 {
2841 "sequence": "25",
2842 "doi": "10.1021/ma0201779",
2843 "title_list": [
2844 {
2845 "lang": "en",
2846 "title": "Space Environmentally Stable Polyimides and Copolyimides Derived from [2,4-Bis(3-aminophenoxy)phenyl]diphenylphosphine Oxide."
2847 }
2848 ],
2849 "volume": "35",
2850 "issue": "13",
2851 "first_page": "4968",
2852 "last_page": "4974",
2853 "publication_date": {
2854 "publication_year": "2002"
2855 },
2856 "content_language": "en",
2857 "original_text": "46) K.A. Watson, F.L. Palmieri, and J.W. Connell, Macromolecules, 35 (2002) p.4968."
2858 },
2859 {
2860 "sequence": "26",
2861 "doi": "10.1246/cl.1997.333",
2862 "title_list": [
2863 {
2864 "lang": "en",
2865 "title": "In situ Formed Three Layer Film by Isomerization of Fluorinated Polyisoimide in Polyethersulfone as a Matrix Polymer."
2866 }
2867 ],
2868 "issue": "4",
2869 "first_page": "333",
2870 "last_page": "334",
2871 "publication_date": {
2872 "publication_year": "1997"
2873 },
2874 "creator_list": [
2875 {
2876 "sequence": "1",
2877 "type": "person",
2878 "names": [
2879 {
2880 "lang": "en",
2881 "last_name": "Mochizuki",
2882 "first_name": "Amane"
2883 }
2884 ],
2885 "affiliation_list": [
2886 {
2887 "affiliation_name": "Department of Materials Science and Engineering, Faculty of Engineering, Yamagata University",
2888 "sequence": "1",
2889 "lang": "en"
2890 }
2891 ]
2892 },
2893 {
2894 "sequence": "2",
2895 "type": "person",
2896 "names": [
2897 {
2898 "lang": "en",
2899 "last_name": "Yamada",
2900 "first_name": "Kazuo"
2901 }
2902 ],
2903 "affiliation_list": [
2904 {
2905 "affiliation_name": "Department of Materials Science and Engineering, Faculty of Engineering, Yamagata University",
2906 "sequence": "1",
2907 "lang": "en"
2908 }
2909 ]
2910 },
2911 {
2912 "sequence": "3",
2913 "type": "person",
2914 "names": [
2915 {
2916 "lang": "en",
2917 "last_name": "Ueda",
2918 "first_name": "Mitsuru"
2919 }
2920 ],
2921 "affiliation_list": [
2922 {
2923 "affiliation_name": "Department of Materials Science and Engineering, Faculty of Engineering, Yamagata University",
2924 "sequence": "1",
2925 "lang": "en"
2926 }
2927 ]
2928 },
2929 {
2930 "sequence": "4",
2931 "type": "person",
2932 "names": [
2933 {
2934 "lang": "en",
2935 "last_name": "Yokota",
2936 "first_name": "Rikio"
2937 }
2938 ],
2939 "affiliation_list": [
2940 {
2941 "affiliation_name": "Institute of Space and Astronautical Science",
2942 "sequence": "1",
2943 "lang": "en"
2944 }
2945 ]
2946 }
2947 ],
2948 "content_language": "en",
2949 "original_text": "26) A. Mochizuki, K. Yamada, M. Ueda, and R. Yokota, Chem. Letts. (1997) 333."
2950 },
2951 {
2952 "sequence": "27",
2953 "original_text": "27) K.K. de Groh, J.R. Gaier, R.L. Hall, M.J. Norris, M.P. Espe, and D.R. Cato, Effects of Heating on Teflon FEP Thermal Control Material from the Hubble Space Telescope, NASAITM-2000-209085 (2000)."
2954 },
2955 {
2956 "sequence": "28",
2957 "original_text": "28) K.K. de Groh, and D.C. Smith, Investigation of Teflon FEP Embrittlement on Spacecraft in Low Earth Orbit, NASAITM-113153 (1997)."
2958 },
2959 {
2960 "sequence": "29",
2961 "doi": "10.1126/science.2563171",
2962 "title_list": [
2963 {
2964 "lang": "en",
2965 "title": "Effects of buried ionizable amino acids on the reduction potential of recombinant myoglobin."
2966 }
2967 ],
2968 "volume": "243",
2969 "issue": "4887",
2970 "first_page": "69",
2971 "last_page": "72",
2972 "publication_date": {
2973 "publication_year": "1989"
2974 },
2975 "content_language": "en",
2976 "original_text": "29) McGrath, D. Chen, and J.E. McGrath, Polyimides: Materials, Chemistry and Characterization, C. Feger, M.M. Khojasteh, and J.E. McGrath, eds., Elsevier Science Publishers B.V., Amsterdam (1989) p.69."
2977 },
2978 {
2979 "sequence": "30",
2980 "original_text": "30) J. Visentine, W. Kinard, D. Brinker, B.A Banks, and K. Albyn, J. Spacecraft and Rockets, 39 (2002) p.187."
2981 },
2982 {
2983 "sequence": "31",
2984 "original_text": "31) B.A. Banks, K.K. de Groh, S.K. Rutledge, and C.A. Haytas, Consequences of Atomic Oxygen Interaction with Silicone and Silicone Contamination on Surfaces in Low Earth Orbit, NASAITM-1999-209179 (1999)."
2985 },
2986 {
2987 "sequence": "32",
2988 "original_text": "32) N. Furukawa, Y. Yamada, M. Furukawa, M. Yuasa, and Y. Kimura, J. Polym. Sci., Part A: Polym. Chem., 35 (1997) p.2239."
2989 },
2990 {
2991 "sequence": "33",
2992 "original_text": "33) NASDA Rep. No. AU9-R02-K108 (2003)."
2993 },
2994 {
2995 "sequence": "34",
2996 "original_text": "34) G.B. Hoflund, RI. Gonzalez, and S.H. Phillips, J. Adhesion Sci. Technol., 15 (2001) p.1199."
2997 },
2998 {
2999 "sequence": "35",
3000 "original_text": "35) S.H. Phillips, RI. Gonzalez, R.L. Blanski, B.D. Viers, and G.B. Hoflund, Proc. SAMPE 2002, May 12-16, 2002, Long Beach, California, p.1488."
3001 },
3002 {
3003 "sequence": "36",
3004 "original_text": "36) RI. Ganzalez, Ph.D. Disseration, University ofFlorida, Gainesville, Florida (2002)."
3005 },
3006 {
3007 "sequence": "37",
3008 "original_text": "37) RI. Gonzalex, G.B. Holfund, S.A. Svejda, S.H. Phillips, and B.V. Viers, submitted to Macromolecules."
3009 },
3010 {
3011 "sequence": "38",
3012 "original_text": "38) J.E. McGrath et.al. US Pat. 5,420,225 (1995), US Pat. 5,407,528 (1995), US Pat. 5,387,629 (1995), and US. Pat. 5,134,207 (1992)."
3013 },
3014 {
3015 "sequence": "39",
3016 "doi": "10.1016/0032-3861(95)90668-R",
3017 "title_list": [
3018 {
3019 "lang": "en",
3020 "title": "Oxygen plasma-resistant phenylphosphine oxide-containing polyimides and poly(arylene ether heterocycle)s. 1."
3021 }
3022 ],
3023 "volume": "36",
3024 "issue": "1",
3025 "first_page": "5",
3026 "last_page": "11",
3027 "publication_date": {
3028 "publication_year": "1995"
3029 },
3030 "content_language": "en",
3031 "original_text": "39) J.W. Connell, J.G. Smith Jr., and P.M. Hergenrother, Polymer, 36 (1995) p.5."
3032 },
3033 {
3034 "sequence": "40",
3035 "doi": "10.1016/0032-3861(95)90669-S",
3036 "title_list": [
3037 {
3038 "lang": "en",
3039 "title": "Oxgen plasma-resistant phenylphosphine oxide-containing polyimides and poly(arylene ether heterocycle)s. 2."
3040 }
3041 ],
3042 "volume": "36",
3043 "issue": "1",
3044 "first_page": "13",
3045 "last_page": "19",
3046 "publication_date": {
3047 "publication_year": "1995"
3048 },
3049 "content_language": "en",
3050 "original_text": "40) J.W. Connell, J.G. Smith Jr., and P.M. Hergenrother, Polymer, 36 (1995) p.13."
3051 },
3052 {
3053 "sequence": "41",
3054 "original_text": "41) P. Schuler, R. Haghighat, and H. Mojazza, High Perform. Polym., 11 (1999) p.113."
3055 },
3056 {
3057 "sequence": "42",
3058 "original_text": "42) J.W. Connell, The Effect of Low Earth Orbit Atomic Oxygen Exposure on Phenylphosphine Oxide-Containing Polymers, 44th International SAMPE Symposium and Exhibition, Long Beach, California, May 23-27, 1999."
3059 },
3060 {
3061 "sequence": "43",
3062 "doi": "10.1088/0954-0083/11/1/008",
3063 "title_list": [
3064 {
3065 "lang": "en",
3066 "title": "Electrically conductive space-durable polymeric films for spacecraft thermal and charge control."
3067 }
3068 ],
3069 "volume": "11",
3070 "issue": "1",
3071 "first_page": "101",
3072 "last_page": "111",
3073 "publication_date": {
3074 "publication_year": "1999"
3075 },
3076 "content_language": "en",
3077 "original_text": "43) J. Lennhoff, G. Harris, J. Vaughn, D. Edwards, and J. Zwiener, High Perform. Polym., 11 (1999) p.101."
3078 },
3079 {
3080 "sequence": "44",
3081 "original_text": "44) T.C. Chang,, K.H. Wu, and Y.S. Chiu, Polym. Degrad Stability, 63 (1999) p.103."
3082 },
3083 {
3084 "sequence": "45",
3085 "doi": "10.1016/S0032-3861(02)00362-2",
3086 "original_text": "45) P.M. Hergenrother, K.A. Watson, J.G. Smith Jr., J.W. Connell, and R. Yokota, Polymer, 43 (2002) p.5077."
3087 },
3088 {
3089 "sequence": "46",
3090 "doi": "10.1021/ma0201779",
3091 "title_list": [
3092 {
3093 "lang": "en",
3094 "title": "Space Environmentally Stable Polyimides and Copolyimides Derived from [2,4-Bis(3-aminophenoxy)phenyl]diphenylphosphine Oxide."
3095 }
3096 ],
3097 "volume": "35",
3098 "issue": "13",
3099 "first_page": "4968",
3100 "last_page": "4974",
3101 "publication_date": {
3102 "publication_year": "2002"
3103 },
3104 "content_language": "en",
3105 "original_text": "25) K.A. Watson, F.L. Palmteri, and J.W. Connell, Macromolecules, 35 (2002) p.4968."
3106 },
3107 {
3108 "sequence": "46",
3109 "doi": "10.1021/ma0201779",
3110 "title_list": [
3111 {
3112 "lang": "en",
3113 "title": "Space Environmentally Stable Polyimides and Copolyimides Derived from [2,4-Bis(3-aminophenoxy)phenyl]diphenylphosphine Oxide."
3114 }
3115 ],
3116 "volume": "35",
3117 "issue": "13",
3118 "first_page": "4968",
3119 "last_page": "4974",
3120 "publication_date": {
3121 "publication_year": "2002"
3122 },
3123 "content_language": "en",
3124 "original_text": "46) K.A. Watson, F.L. Palmieri, and J.W. Connell, Macromolecules, 35 (2002) p.4968."
3125 },
3126 {
3127 "sequence": "47",
3128 "original_text": "47) K.A. Watson, and J.W. Connell, Space Environmentally Stable Polyimides and Copolyimides, 45th International SAMPE Symposium and Exhibit, Long Beach, California, May 21-25, 2000."
3129 },
3130 {
3131 "sequence": "48",
3132 "original_text": "48) C. M. Thompson, J. G. Smith, Jr., K. A. Watson and J. W. Connell, Polyimides Containing Pendent Phosphine Oxide Groups for Space Applications, 34th International SAMPE Technical Conference, Baltimore, Maryland, November 4-7, 2002."
3133 },
3134 {
3135 "sequence": "49",
3136 "original_text": "49) H. Zhuang, Ph.D. Dissertation, Virginia Polytechnic Institute and State University, Blacksburg, Virginir (1998)."
3137 },
3138 {
3139 "sequence": "50",
3140 "original_text": "50) S. Wang, Ph.D. Dissertation, Virginia Polytechnic Institute and State University, Blacksburg, Virginir (2000)."
3141 },
3142 {
3143 "sequence": "51",
3144 "original_text": "51) S. Y. Lu, and I. Hamerton, Prag. Polym. Sci., 27 (2002) p.1661."
3145 }
3146 ]
3147 }
3148 }
3149 jalc_processor = JalcProcessing()
3150 pages = jalc_processor._extract_pages(item_dict["data"])
3151 self.assertEqual(pages, '1_34-1_48')
3153 def test_extract_pages_just_one_page(self):
3154 item_dict = {
3155 "status": "OK",
3156 "apiType": "doi",
3157 "apiVersion": "1.0.0",
3158 "message": {
3159 "total": 1,
3160 "rows": 1,
3161 "totalPages": 1,
3162 "page": 1
3163 },
3164 "data": {
3165 "siteId": "SI/JST.JSTAGE",
3166 "content_type": "JA",
3167 "doi": "10.11230/jsts.18.1_34",
3168 "url": "https://doi.org/10.11230/jsts.18.1_34",
3169 "ra": "JaLC",
3170 "prefix": "10.11230",
3171 "site_name": "J-STAGE",
3172 "publisher_list": [
3173 {
3174 "publisher_name": "Japanese Rocket Society",
3175 "lang": "en"
3176 },
3177 {
3178 "publisher_name": "特定非営利活動法人 日本ロケット協会",
3179 "lang": "ja"
3180 }
3181 ],
3182 "title_list": [
3183 {
3184 "lang": "en",
3185 "title": "Atomic Oxygen Protections in Polymeric Systems: A Review"
3186 }
3187 ],
3188 "creator_list": [
3189 {
3190 "sequence": "1",
3191 "type": "person",
3192 "names": [
3193 {
3194 "lang": "en",
3195 "last_name": "RIMDUSIT",
3196 "first_name": "Sarawut"
3197 }
3198 ],
3199 "affiliation_list": [
3200 {
3201 "affiliation_name": "Chulalongkorn University",
3202 "sequence": "1",
3203 "lang": "en"
3204 }
3205 ]
3206 },
3207 {
3208 "sequence": "2",
3209 "type": "person",
3210 "names": [
3211 {
3212 "lang": "en",
3213 "last_name": "YOKOTA",
3214 "first_name": "Rikio"
3215 }
3216 ],
3217 "affiliation_list": [
3218 {
3219 "affiliation_name": "Chulalongkorn University",
3220 "sequence": "1",
3221 "lang": "en"
3222 }
3223 ]
3224 }
3225 ],
3226 "publication_date": {
3227 "publication_year": "2002"
3228 },
3229 "relation_list": [
3230 {
3231 "content": "https://www.jstage.jst.go.jp/article/jsts/18/1/18_1_34/_pdf",
3232 "type": "URL",
3233 "relation": "fullTextPdf"
3234 }
3235 ],
3236 "content_language": "en",
3237 "updated_date": "2014-12-09",
3238 "article_type": "pub",
3239 "journal_id_list": [
3240 {
3241 "journal_id": "0911-551X",
3242 "type": "ISSN",
3243 "issn_type": "print"
3244 },
3245 {
3246 "journal_id": "2186-4772",
3247 "type": "ISSN",
3248 "issn_type": "online"
3249 },
3250 {
3251 "journal_id": "jsts",
3252 "type": "JID"
3253 }
3254 ],
3255 "journal_title_name_list": [
3256 {
3257 "journal_title_name": "The Journal of Space Technology and Science",
3258 "type": "full",
3259 "lang": "en"
3260 },
3261 {
3262 "journal_title_name": "JSTS",
3263 "type": "abbreviation",
3264 "lang": "en"
3265 }
3266 ],
3267 "journal_classification": "01",
3268 "journal_txt_lang": "en",
3269 "recorded_year": "1985-2013",
3270 "volume": "18",
3271 "issue": "1",
3272 "first_page": "1_34",
3273 "date": "2013-08-18",
3274 "keyword_list": [
3275 {
3276 "keyword": "Atomic Oxygen",
3277 "sequence": "1",
3278 "lang": "en"
3279 },
3280 {
3281 "keyword": "Immiscible Blends",
3282 "sequence": "2",
3283 "lang": "en"
3284 },
3285 {
3286 "keyword": "Phosphorus-containing Polyimide",
3287 "sequence": "3",
3288 "lang": "en"
3289 },
3290 {
3291 "keyword": "Silicon-containing Polyimide",
3292 "sequence": "4",
3293 "lang": "en"
3294 },
3295 {
3296 "keyword": "MLI",
3297 "sequence": "5",
3298 "lang": "en"
3299 }
3300 ],
3301 "citation_list": [
3302 {
3303 "sequence": "1",
3304 "original_text": "1) R. Yokota, Aerospace Materials, Chapter 5, B. Cantor, H. Assender, and P. Grant, eds., Institute ofPhysics Publishing, Bristol (2001) p. 47."
3305 },
3306 {
3307 "sequence": "2",
3308 "original_text": "2) C.K. Krishnaprakas, K. Badari Narayana, and Pradip Dutta, Cryogenics, 40 (2000) p.431."
3309 },
3310 {
3311 "sequence": "3",
3312 "doi": "10.2494/photopolymer.12.209",
3313 "title_list": [
3314 {
3315 "lang": "en",
3316 "title": "Recent Trends and Space Applications of Poylmides."
3317 }
3318 ],
3319 "volume": "12",
3320 "issue": "2",
3321 "first_page": "209",
3322 "last_page": "216",
3323 "publication_date": {
3324 "publication_year": "1999"
3325 },
3326 "creator_list": [
3327 {
3328 "sequence": "1",
3329 "type": "person",
3330 "names": [
3331 {
3332 "lang": "en",
3333 "last_name": "YOKOTA",
3334 "first_name": "RIKIO"
3335 }
3336 ]
3337 }
3338 ],
3339 "content_language": "en",
3340 "original_text": "3) R. Yokota, J. Photopolym. Sci. Tech., 12 (1999) p.209."
3341 },
3342 {
3343 "sequence": "4",
3344 "original_text": "4) E.M. Silverman, Environmental Effects on Spacecraft: LEO Materials Selection Guide, NASA Contractor Report 4661Part1 and Part 2 (1995)."
3345 },
3346 {
3347 "sequence": "5",
3348 "first_page": "1999",
3349 "publication_date": {
3350 "publication_year": "1999"
3351 },
3352 "original_text": "5) D. Dooling and M.M. Finckenor, Material Selection Guidelines to Limit Atomic Oxygen Effects on Spacecraft Surfaces, NASA/TP-1999-209260 (1999)."
3353 },
3354 {
3355 "sequence": "6",
3356 "original_text": "6) E. Grossman, and I. Gouzman, Nuclear Instruments cind Methods in Physics Research B (2003) in press."
3357 },
3358 {
3359 "sequence": "7",
3360 "original_text": "7) R. Yokota, A. Ohnishi, Y. Hashimoto, K. Toki, S. Kuroda, K. Akahori, and H. Nagano, Proc. 7th Materials in Space Environment, Toulouse, France, 16-20 Jurie 1997, p.293."
3361 },
3362 {
3363 "sequence": "8",
3364 "title_list": [
3365 {
3366 "lang": "en",
3367 "title": "Atomic oxygen effects on polymer-based materials."
3368 }
3369 ],
3370 "volume": "69",
3371 "issue": "8/9",
3372 "first_page": "1190",
3373 "last_page": "1208",
3374 "publication_date": {
3375 "publication_year": "1991"
3376 },
3377 "content_language": "en",
3378 "original_text": "8) RC. Tennyson, Can. J. Phys., 69 (1991) p.1190."
3379 },
3380 {
3381 "sequence": "9",
3382 "original_text": "9) R.H. Hansen, J.V. Pascale, T. De Benedictis, and P.M. Rentzepis, J. Polym. Sci.: Part A, 3 (1965) p.2205."
3383 },
3384 {
3385 "sequence": "10",
3386 "doi": "10.1007/BF00354389",
3387 "title_list": [
3388 {
3389 "lang": "en",
3390 "title": "Effect of low earth orbit atomic oxygen on spacecraft materials."
3391 }
3392 ],
3393 "volume": "30",
3394 "issue": "2",
3395 "first_page": "281",
3396 "last_page": "307",
3397 "publication_date": {
3398 "publication_year": "1995"
3399 },
3400 "content_language": "en",
3401 "original_text": "10) M. Raja Reddy, J. Mat. Sci., 30 (1995) p.281."
3402 },
3403 {
3404 "sequence": "11",
3405 "doi": "10.1007/BF00354390",
3406 "title_list": [
3407 {
3408 "lang": "en",
3409 "title": "Atomic oxygen resistant coatings for low earth orbit space structures."
3410 }
3411 ],
3412 "volume": "30",
3413 "issue": "2",
3414 "first_page": "308",
3415 "last_page": "320",
3416 "publication_date": {
3417 "publication_year": "1995"
3418 },
3419 "content_language": "en",
3420 "original_text": "11) S. Packirisamy, D. Schwam, and M.H. Litt, J. Mat. Sci., 30 (1995) p.308."
3421 },
3422 {
3423 "sequence": "12",
3424 "original_text": "12) L.L. Fewell, J. Appl. Polym. Sci., 41 (1990) p.391."
3425 },
3426 {
3427 "sequence": "13",
3428 "original_text": "13) M. Raja Reddy, N. Srinivasamurthy, and B.L. Agrawal, ESA J., 16 (1992) p.193."
3429 },
3430 {
3431 "sequence": "14",
3432 "doi": "10.1088/0954-0083/11/1/013",
3433 "title_list": [
3434 {
3435 "lang": "en",
3436 "title": "Protection of polymetric materials from atomic oxygen."
3437 }
3438 ],
3439 "volume": "11",
3440 "issue": "1",
3441 "first_page": "157",
3442 "last_page": "165",
3443 "publication_date": {
3444 "publication_year": "1999"
3445 },
3446 "content_language": "en",
3447 "original_text": "14) RC. Tennyson, High Perform. Polym., 11 (1999) p.157."
3448 },
3449 {
3450 "sequence": "15",
3451 "original_text": "15) Y. Huang, J. Liu, I. Ball, and T.K. Minton, Proc. SAMPE 2002, May 12-16, 2002, Long Beach, California, p.1788."
3452 },
3453 {
3454 "sequence": "16",
3455 "original_text": "16) B.A. Banks, and R. Demko, Proc. SAMPE 2002, May 12-16, 2002, Long Beach, California, p.820."
3456 },
3457 {
3458 "sequence": "17",
3459 "original_text": "17) M.L. lliingsworth, J.A. Betancourt, L. He, Y. Chen, J.A. Terschak, B.A. Banks, S.K. Rutledge, and M. Cales, NASAITM-2001-211099 (2001)."
3460 },
3461 {
3462 "sequence": "18",
3463 "original_text": "18) R.L. Kiefer, RA. Anderson, M.H.Y. Kim, and S.A. Thibeault, Nuclear Instruments and Methods in Physics Research B, (2003) in press."
3464 },
3465 {
3466 "sequence": "19",
3467 "volume": "2002",
3468 "issue": "14",
3469 "first_page": "2002",
3470 "publication_date": {
3471 "publication_year": "2002"
3472 },
3473 "original_text": "19) C. Park, Z. Ounaies, K.A. Watson, K. Pawlowski, S.E. Lowther, J.W. Connell, E.J. Siochi, J.S. Harrison, and T.L. St Clair, NASA/CR-2002-211940 (2002)."
3474 },
3475 {
3476 "sequence": "20",
3477 "original_text": "20) Y. Huang, J. Liu, I. Ball, and T.K. Minton, Proc. SAMPE 2002, May 12-16, 2002, Long Beach, California, p.1788."
3478 },
3479 {
3480 "sequence": "21",
3481 "doi": "10.1177/0954008303015002003",
3482 "volume": "15",
3483 "first_page": "181",
3484 "publication_date": {
3485 "publication_year": "2003"
3486 },
3487 "original_text": "21) C.M. Thompson, J.G. Smith, Jr., andJ.W. Connell, High Perform. Polym., 15 (2003) p.181."
3488 },
3489 {
3490 "sequence": "22",
3491 "original_text": "22) K.A. Watson, and J.W. Connell, Proc. Fluoropolymer 2000, Savanah, Georgia, October 15.18, 2000."
3492 },
3493 {
3494 "sequence": "23",
3495 "original_text": "23) J.G. Smith Jr., J.W. Connell, and P.M. Hergenrother, Polymer, 35 (1994) p.2834."
3496 },
3497 {
3498 "sequence": "24",
3499 "original_text": "24) K.K. de Groh, B.A. Banks, and R. Demko, Proc. 47th Int. SAMPE Symp. Exh., B.M. Rasmussen, L.A. Pilato, and H.S. Kliger, Eds., Long Beach, Califonia, May 12-16, 2002, p.1279."
3500 },
3501 {
3502 "sequence": "25",
3503 "doi": "10.1021/ma0201779",
3504 "title_list": [
3505 {
3506 "lang": "en",
3507 "title": "Space Environmentally Stable Polyimides and Copolyimides Derived from [2,4-Bis(3-aminophenoxy)phenyl]diphenylphosphine Oxide."
3508 }
3509 ],
3510 "volume": "35",
3511 "issue": "13",
3512 "first_page": "4968",
3513 "last_page": "4974",
3514 "publication_date": {
3515 "publication_year": "2002"
3516 },
3517 "content_language": "en",
3518 "original_text": "25) K.A. Watson, F.L. Palmteri, and J.W. Connell, Macromolecules, 35 (2002) p.4968."
3519 },
3520 {
3521 "sequence": "25",
3522 "doi": "10.1021/ma0201779",
3523 "title_list": [
3524 {
3525 "lang": "en",
3526 "title": "Space Environmentally Stable Polyimides and Copolyimides Derived from [2,4-Bis(3-aminophenoxy)phenyl]diphenylphosphine Oxide."
3527 }
3528 ],
3529 "volume": "35",
3530 "issue": "13",
3531 "first_page": "4968",
3532 "last_page": "4974",
3533 "publication_date": {
3534 "publication_year": "2002"
3535 },
3536 "content_language": "en",
3537 "original_text": "46) K.A. Watson, F.L. Palmieri, and J.W. Connell, Macromolecules, 35 (2002) p.4968."
3538 },
3539 {
3540 "sequence": "26",
3541 "doi": "10.1246/cl.1997.333",
3542 "title_list": [
3543 {
3544 "lang": "en",
3545 "title": "In situ Formed Three Layer Film by Isomerization of Fluorinated Polyisoimide in Polyethersulfone as a Matrix Polymer."
3546 }
3547 ],
3548 "issue": "4",
3549 "first_page": "333",
3550 "last_page": "334",
3551 "publication_date": {
3552 "publication_year": "1997"
3553 },
3554 "creator_list": [
3555 {
3556 "sequence": "1",
3557 "type": "person",
3558 "names": [
3559 {
3560 "lang": "en",
3561 "last_name": "Mochizuki",
3562 "first_name": "Amane"
3563 }
3564 ],
3565 "affiliation_list": [
3566 {
3567 "affiliation_name": "Department of Materials Science and Engineering, Faculty of Engineering, Yamagata University",
3568 "sequence": "1",
3569 "lang": "en"
3570 }
3571 ]
3572 },
3573 {
3574 "sequence": "2",
3575 "type": "person",
3576 "names": [
3577 {
3578 "lang": "en",
3579 "last_name": "Yamada",
3580 "first_name": "Kazuo"
3581 }
3582 ],
3583 "affiliation_list": [
3584 {
3585 "affiliation_name": "Department of Materials Science and Engineering, Faculty of Engineering, Yamagata University",
3586 "sequence": "1",
3587 "lang": "en"
3588 }
3589 ]
3590 },
3591 {
3592 "sequence": "3",
3593 "type": "person",
3594 "names": [
3595 {
3596 "lang": "en",
3597 "last_name": "Ueda",
3598 "first_name": "Mitsuru"
3599 }
3600 ],
3601 "affiliation_list": [
3602 {
3603 "affiliation_name": "Department of Materials Science and Engineering, Faculty of Engineering, Yamagata University",
3604 "sequence": "1",
3605 "lang": "en"
3606 }
3607 ]
3608 },
3609 {
3610 "sequence": "4",
3611 "type": "person",
3612 "names": [
3613 {
3614 "lang": "en",
3615 "last_name": "Yokota",
3616 "first_name": "Rikio"
3617 }
3618 ],
3619 "affiliation_list": [
3620 {
3621 "affiliation_name": "Institute of Space and Astronautical Science",
3622 "sequence": "1",
3623 "lang": "en"
3624 }
3625 ]
3626 }
3627 ],
3628 "content_language": "en",
3629 "original_text": "26) A. Mochizuki, K. Yamada, M. Ueda, and R. Yokota, Chem. Letts. (1997) 333."
3630 },
3631 {
3632 "sequence": "27",
3633 "original_text": "27) K.K. de Groh, J.R. Gaier, R.L. Hall, M.J. Norris, M.P. Espe, and D.R. Cato, Effects of Heating on Teflon FEP Thermal Control Material from the Hubble Space Telescope, NASAITM-2000-209085 (2000)."
3634 },
3635 {
3636 "sequence": "28",
3637 "original_text": "28) K.K. de Groh, and D.C. Smith, Investigation of Teflon FEP Embrittlement on Spacecraft in Low Earth Orbit, NASAITM-113153 (1997)."
3638 },
3639 {
3640 "sequence": "29",
3641 "doi": "10.1126/science.2563171",
3642 "title_list": [
3643 {
3644 "lang": "en",
3645 "title": "Effects of buried ionizable amino acids on the reduction potential of recombinant myoglobin."
3646 }
3647 ],
3648 "volume": "243",
3649 "issue": "4887",
3650 "first_page": "69",
3651 "last_page": "72",
3652 "publication_date": {
3653 "publication_year": "1989"
3654 },
3655 "content_language": "en",
3656 "original_text": "29) McGrath, D. Chen, and J.E. McGrath, Polyimides: Materials, Chemistry and Characterization, C. Feger, M.M. Khojasteh, and J.E. McGrath, eds., Elsevier Science Publishers B.V., Amsterdam (1989) p.69."
3657 },
3658 {
3659 "sequence": "30",
3660 "original_text": "30) J. Visentine, W. Kinard, D. Brinker, B.A Banks, and K. Albyn, J. Spacecraft and Rockets, 39 (2002) p.187."
3661 },
3662 {
3663 "sequence": "31",
3664 "original_text": "31) B.A. Banks, K.K. de Groh, S.K. Rutledge, and C.A. Haytas, Consequences of Atomic Oxygen Interaction with Silicone and Silicone Contamination on Surfaces in Low Earth Orbit, NASAITM-1999-209179 (1999)."
3665 },
3666 {
3667 "sequence": "32",
3668 "original_text": "32) N. Furukawa, Y. Yamada, M. Furukawa, M. Yuasa, and Y. Kimura, J. Polym. Sci., Part A: Polym. Chem., 35 (1997) p.2239."
3669 },
3670 {
3671 "sequence": "33",
3672 "original_text": "33) NASDA Rep. No. AU9-R02-K108 (2003)."
3673 },
3674 {
3675 "sequence": "34",
3676 "original_text": "34) G.B. Hoflund, RI. Gonzalez, and S.H. Phillips, J. Adhesion Sci. Technol., 15 (2001) p.1199."
3677 },
3678 {
3679 "sequence": "35",
3680 "original_text": "35) S.H. Phillips, RI. Gonzalez, R.L. Blanski, B.D. Viers, and G.B. Hoflund, Proc. SAMPE 2002, May 12-16, 2002, Long Beach, California, p.1488."
3681 },
3682 {
3683 "sequence": "36",
3684 "original_text": "36) RI. Ganzalez, Ph.D. Disseration, University ofFlorida, Gainesville, Florida (2002)."
3685 },
3686 {
3687 "sequence": "37",
3688 "original_text": "37) RI. Gonzalex, G.B. Holfund, S.A. Svejda, S.H. Phillips, and B.V. Viers, submitted to Macromolecules."
3689 },
3690 {
3691 "sequence": "38",
3692 "original_text": "38) J.E. McGrath et.al. US Pat. 5,420,225 (1995), US Pat. 5,407,528 (1995), US Pat. 5,387,629 (1995), and US. Pat. 5,134,207 (1992)."
3693 },
3694 {
3695 "sequence": "39",
3696 "doi": "10.1016/0032-3861(95)90668-R",
3697 "title_list": [
3698 {
3699 "lang": "en",
3700 "title": "Oxygen plasma-resistant phenylphosphine oxide-containing polyimides and poly(arylene ether heterocycle)s. 1."
3701 }
3702 ],
3703 "volume": "36",
3704 "issue": "1",
3705 "first_page": "5",
3706 "last_page": "11",
3707 "publication_date": {
3708 "publication_year": "1995"
3709 },
3710 "content_language": "en",
3711 "original_text": "39) J.W. Connell, J.G. Smith Jr., and P.M. Hergenrother, Polymer, 36 (1995) p.5."
3712 },
3713 {
3714 "sequence": "40",
3715 "doi": "10.1016/0032-3861(95)90669-S",
3716 "title_list": [
3717 {
3718 "lang": "en",
3719 "title": "Oxgen plasma-resistant phenylphosphine oxide-containing polyimides and poly(arylene ether heterocycle)s. 2."
3720 }
3721 ],
3722 "volume": "36",
3723 "issue": "1",
3724 "first_page": "13",
3725 "last_page": "19",
3726 "publication_date": {
3727 "publication_year": "1995"
3728 },
3729 "content_language": "en",
3730 "original_text": "40) J.W. Connell, J.G. Smith Jr., and P.M. Hergenrother, Polymer, 36 (1995) p.13."
3731 },
3732 {
3733 "sequence": "41",
3734 "original_text": "41) P. Schuler, R. Haghighat, and H. Mojazza, High Perform. Polym., 11 (1999) p.113."
3735 },
3736 {
3737 "sequence": "42",
3738 "original_text": "42) J.W. Connell, The Effect of Low Earth Orbit Atomic Oxygen Exposure on Phenylphosphine Oxide-Containing Polymers, 44th International SAMPE Symposium and Exhibition, Long Beach, California, May 23-27, 1999."
3739 },
3740 {
3741 "sequence": "43",
3742 "doi": "10.1088/0954-0083/11/1/008",
3743 "title_list": [
3744 {
3745 "lang": "en",
3746 "title": "Electrically conductive space-durable polymeric films for spacecraft thermal and charge control."
3747 }
3748 ],
3749 "volume": "11",
3750 "issue": "1",
3751 "first_page": "101",
3752 "last_page": "111",
3753 "publication_date": {
3754 "publication_year": "1999"
3755 },
3756 "content_language": "en",
3757 "original_text": "43) J. Lennhoff, G. Harris, J. Vaughn, D. Edwards, and J. Zwiener, High Perform. Polym., 11 (1999) p.101."
3758 },
3759 {
3760 "sequence": "44",
3761 "original_text": "44) T.C. Chang,, K.H. Wu, and Y.S. Chiu, Polym. Degrad Stability, 63 (1999) p.103."
3762 },
3763 {
3764 "sequence": "45",
3765 "doi": "10.1016/S0032-3861(02)00362-2",
3766 "original_text": "45) P.M. Hergenrother, K.A. Watson, J.G. Smith Jr., J.W. Connell, and R. Yokota, Polymer, 43 (2002) p.5077."
3767 },
3768 {
3769 "sequence": "46",
3770 "doi": "10.1021/ma0201779",
3771 "title_list": [
3772 {
3773 "lang": "en",
3774 "title": "Space Environmentally Stable Polyimides and Copolyimides Derived from [2,4-Bis(3-aminophenoxy)phenyl]diphenylphosphine Oxide."
3775 }
3776 ],
3777 "volume": "35",
3778 "issue": "13",
3779 "first_page": "4968",
3780 "last_page": "4974",
3781 "publication_date": {
3782 "publication_year": "2002"
3783 },
3784 "content_language": "en",
3785 "original_text": "25) K.A. Watson, F.L. Palmteri, and J.W. Connell, Macromolecules, 35 (2002) p.4968."
3786 },
3787 {
3788 "sequence": "46",
3789 "doi": "10.1021/ma0201779",
3790 "title_list": [
3791 {
3792 "lang": "en",
3793 "title": "Space Environmentally Stable Polyimides and Copolyimides Derived from [2,4-Bis(3-aminophenoxy)phenyl]diphenylphosphine Oxide."
3794 }
3795 ],
3796 "volume": "35",
3797 "issue": "13",
3798 "first_page": "4968",
3799 "last_page": "4974",
3800 "publication_date": {
3801 "publication_year": "2002"
3802 },
3803 "content_language": "en",
3804 "original_text": "46) K.A. Watson, F.L. Palmieri, and J.W. Connell, Macromolecules, 35 (2002) p.4968."
3805 },
3806 {
3807 "sequence": "47",
3808 "original_text": "47) K.A. Watson, and J.W. Connell, Space Environmentally Stable Polyimides and Copolyimides, 45th International SAMPE Symposium and Exhibit, Long Beach, California, May 21-25, 2000."
3809 },
3810 {
3811 "sequence": "48",
3812 "original_text": "48) C. M. Thompson, J. G. Smith, Jr., K. A. Watson and J. W. Connell, Polyimides Containing Pendent Phosphine Oxide Groups for Space Applications, 34th International SAMPE Technical Conference, Baltimore, Maryland, November 4-7, 2002."
3813 },
3814 {
3815 "sequence": "49",
3816 "original_text": "49) H. Zhuang, Ph.D. Dissertation, Virginia Polytechnic Institute and State University, Blacksburg, Virginir (1998)."
3817 },
3818 {
3819 "sequence": "50",
3820 "original_text": "50) S. Wang, Ph.D. Dissertation, Virginia Polytechnic Institute and State University, Blacksburg, Virginir (2000)."
3821 },
3822 {
3823 "sequence": "51",
3824 "original_text": "51) S. Y. Lu, and I. Hamerton, Prag. Polym. Sci., 27 (2002) p.1661."
3825 }
3826 ]
3827 }
3828 }
3829 jalc_processor = JalcProcessing()
3830 pages = jalc_processor._extract_pages(item_dict["data"])
3831 self.assertEqual(pages, '1_34-1_34')
3833 def test_extract_pages_non_roman_letters(self):
3834 item_dict = {
3835 "status": "OK",
3836 "apiType": "doi",
3837 "apiVersion": "1.0.0",
3838 "message": {
3839 "total": 1,
3840 "rows": 1,
3841 "totalPages": 1,
3842 "page": 1
3843 },
3844 "data": {
3845 "siteId": "SI/JST.JSTAGE",
3846 "content_type": "JA",
3847 "doi": "10.11230/jsts.18.1_34",
3848 "url": "https://doi.org/10.11230/jsts.18.1_34",
3849 "ra": "JaLC",
3850 "prefix": "10.11230",
3851 "site_name": "J-STAGE",
3852 "publisher_list": [
3853 {
3854 "publisher_name": "Japanese Rocket Society",
3855 "lang": "en"
3856 },
3857 {
3858 "publisher_name": "特定非営利活動法人 日本ロケット協会",
3859 "lang": "ja"
3860 }
3861 ],
3862 "title_list": [
3863 {
3864 "lang": "en",
3865 "title": "Atomic Oxygen Protections in Polymeric Systems: A Review"
3866 }
3867 ],
3868 "creator_list": [
3869 {
3870 "sequence": "1",
3871 "type": "person",
3872 "names": [
3873 {
3874 "lang": "en",
3875 "last_name": "RIMDUSIT",
3876 "first_name": "Sarawut"
3877 }
3878 ],
3879 "affiliation_list": [
3880 {
3881 "affiliation_name": "Chulalongkorn University",
3882 "sequence": "1",
3883 "lang": "en"
3884 }
3885 ]
3886 },
3887 {
3888 "sequence": "2",
3889 "type": "person",
3890 "names": [
3891 {
3892 "lang": "en",
3893 "last_name": "YOKOTA",
3894 "first_name": "Rikio"
3895 }
3896 ],
3897 "affiliation_list": [
3898 {
3899 "affiliation_name": "Chulalongkorn University",
3900 "sequence": "1",
3901 "lang": "en"
3902 }
3903 ]
3904 }
3905 ],
3906 "publication_date": {
3907 "publication_year": "2002"
3908 },
3909 "relation_list": [
3910 {
3911 "content": "https://www.jstage.jst.go.jp/article/jsts/18/1/18_1_34/_pdf",
3912 "type": "URL",
3913 "relation": "fullTextPdf"
3914 }
3915 ],
3916 "content_language": "en",
3917 "updated_date": "2014-12-09",
3918 "article_type": "pub",
3919 "journal_id_list": [
3920 {
3921 "journal_id": "0911-551X",
3922 "type": "ISSN",
3923 "issn_type": "print"
3924 },
3925 {
3926 "journal_id": "2186-4772",
3927 "type": "ISSN",
3928 "issn_type": "online"
3929 },
3930 {
3931 "journal_id": "jsts",
3932 "type": "JID"
3933 }
3934 ],
3935 "journal_title_name_list": [
3936 {
3937 "journal_title_name": "The Journal of Space Technology and Science",
3938 "type": "full",
3939 "lang": "en"
3940 },
3941 {
3942 "journal_title_name": "JSTS",
3943 "type": "abbreviation",
3944 "lang": "en"
3945 }
3946 ],
3947 "journal_classification": "01",
3948 "journal_txt_lang": "en",
3949 "recorded_year": "1985-2013",
3950 "volume": "18",
3951 "issue": "1",
3952 "first_page": "kio",
3953 "last_page": "jpj",
3954 "date": "2013-08-18",
3955 "keyword_list": [
3956 {
3957 "keyword": "Atomic Oxygen",
3958 "sequence": "1",
3959 "lang": "en"
3960 },
3961 {
3962 "keyword": "Immiscible Blends",
3963 "sequence": "2",
3964 "lang": "en"
3965 },
3966 {
3967 "keyword": "Phosphorus-containing Polyimide",
3968 "sequence": "3",
3969 "lang": "en"
3970 },
3971 {
3972 "keyword": "Silicon-containing Polyimide",
3973 "sequence": "4",
3974 "lang": "en"
3975 },
3976 {
3977 "keyword": "MLI",
3978 "sequence": "5",
3979 "lang": "en"
3980 }
3981 ],
3982 "citation_list": [
3983 {
3984 "sequence": "1",
3985 "original_text": "1) R. Yokota, Aerospace Materials, Chapter 5, B. Cantor, H. Assender, and P. Grant, eds., Institute ofPhysics Publishing, Bristol (2001) p. 47."
3986 },
3987 {
3988 "sequence": "2",
3989 "original_text": "2) C.K. Krishnaprakas, K. Badari Narayana, and Pradip Dutta, Cryogenics, 40 (2000) p.431."
3990 },
3991 {
3992 "sequence": "3",
3993 "doi": "10.2494/photopolymer.12.209",
3994 "title_list": [
3995 {
3996 "lang": "en",
3997 "title": "Recent Trends and Space Applications of Poylmides."
3998 }
3999 ],
4000 "volume": "12",
4001 "issue": "2",
4002 "first_page": "209",
4003 "last_page": "216",
4004 "publication_date": {
4005 "publication_year": "1999"
4006 },
4007 "creator_list": [
4008 {
4009 "sequence": "1",
4010 "type": "person",
4011 "names": [
4012 {
4013 "lang": "en",
4014 "last_name": "YOKOTA",
4015 "first_name": "RIKIO"
4016 }
4017 ]
4018 }
4019 ],
4020 "content_language": "en",
4021 "original_text": "3) R. Yokota, J. Photopolym. Sci. Tech., 12 (1999) p.209."
4022 },
4023 {
4024 "sequence": "4",
4025 "original_text": "4) E.M. Silverman, Environmental Effects on Spacecraft: LEO Materials Selection Guide, NASA Contractor Report 4661Part1 and Part 2 (1995)."
4026 },
4027 {
4028 "sequence": "5",
4029 "first_page": "1999",
4030 "publication_date": {
4031 "publication_year": "1999"
4032 },
4033 "original_text": "5) D. Dooling and M.M. Finckenor, Material Selection Guidelines to Limit Atomic Oxygen Effects on Spacecraft Surfaces, NASA/TP-1999-209260 (1999)."
4034 },
4035 {
4036 "sequence": "6",
4037 "original_text": "6) E. Grossman, and I. Gouzman, Nuclear Instruments cind Methods in Physics Research B (2003) in press."
4038 },
4039 {
4040 "sequence": "7",
4041 "original_text": "7) R. Yokota, A. Ohnishi, Y. Hashimoto, K. Toki, S. Kuroda, K. Akahori, and H. Nagano, Proc. 7th Materials in Space Environment, Toulouse, France, 16-20 Jurie 1997, p.293."
4042 },
4043 {
4044 "sequence": "8",
4045 "title_list": [
4046 {
4047 "lang": "en",
4048 "title": "Atomic oxygen effects on polymer-based materials."
4049 }
4050 ],
4051 "volume": "69",
4052 "issue": "8/9",
4053 "first_page": "1190",
4054 "last_page": "1208",
4055 "publication_date": {
4056 "publication_year": "1991"
4057 },
4058 "content_language": "en",
4059 "original_text": "8) RC. Tennyson, Can. J. Phys., 69 (1991) p.1190."
4060 },
4061 {
4062 "sequence": "9",
4063 "original_text": "9) R.H. Hansen, J.V. Pascale, T. De Benedictis, and P.M. Rentzepis, J. Polym. Sci.: Part A, 3 (1965) p.2205."
4064 },
4065 {
4066 "sequence": "10",
4067 "doi": "10.1007/BF00354389",
4068 "title_list": [
4069 {
4070 "lang": "en",
4071 "title": "Effect of low earth orbit atomic oxygen on spacecraft materials."
4072 }
4073 ],
4074 "volume": "30",
4075 "issue": "2",
4076 "first_page": "281",
4077 "last_page": "307",
4078 "publication_date": {
4079 "publication_year": "1995"
4080 },
4081 "content_language": "en",
4082 "original_text": "10) M. Raja Reddy, J. Mat. Sci., 30 (1995) p.281."
4083 },
4084 {
4085 "sequence": "11",
4086 "doi": "10.1007/BF00354390",
4087 "title_list": [
4088 {
4089 "lang": "en",
4090 "title": "Atomic oxygen resistant coatings for low earth orbit space structures."
4091 }
4092 ],
4093 "volume": "30",
4094 "issue": "2",
4095 "first_page": "308",
4096 "last_page": "320",
4097 "publication_date": {
4098 "publication_year": "1995"
4099 },
4100 "content_language": "en",
4101 "original_text": "11) S. Packirisamy, D. Schwam, and M.H. Litt, J. Mat. Sci., 30 (1995) p.308."
4102 },
4103 {
4104 "sequence": "12",
4105 "original_text": "12) L.L. Fewell, J. Appl. Polym. Sci., 41 (1990) p.391."
4106 },
4107 {
4108 "sequence": "13",
4109 "original_text": "13) M. Raja Reddy, N. Srinivasamurthy, and B.L. Agrawal, ESA J., 16 (1992) p.193."
4110 },
4111 {
4112 "sequence": "14",
4113 "doi": "10.1088/0954-0083/11/1/013",
4114 "title_list": [
4115 {
4116 "lang": "en",
4117 "title": "Protection of polymetric materials from atomic oxygen."
4118 }
4119 ],
4120 "volume": "11",
4121 "issue": "1",
4122 "first_page": "157",
4123 "last_page": "165",
4124 "publication_date": {
4125 "publication_year": "1999"
4126 },
4127 "content_language": "en",
4128 "original_text": "14) RC. Tennyson, High Perform. Polym., 11 (1999) p.157."
4129 },
4130 {
4131 "sequence": "15",
4132 "original_text": "15) Y. Huang, J. Liu, I. Ball, and T.K. Minton, Proc. SAMPE 2002, May 12-16, 2002, Long Beach, California, p.1788."
4133 },
4134 {
4135 "sequence": "16",
4136 "original_text": "16) B.A. Banks, and R. Demko, Proc. SAMPE 2002, May 12-16, 2002, Long Beach, California, p.820."
4137 },
4138 {
4139 "sequence": "17",
4140 "original_text": "17) M.L. lliingsworth, J.A. Betancourt, L. He, Y. Chen, J.A. Terschak, B.A. Banks, S.K. Rutledge, and M. Cales, NASAITM-2001-211099 (2001)."
4141 },
4142 {
4143 "sequence": "18",
4144 "original_text": "18) R.L. Kiefer, RA. Anderson, M.H.Y. Kim, and S.A. Thibeault, Nuclear Instruments and Methods in Physics Research B, (2003) in press."
4145 },
4146 {
4147 "sequence": "19",
4148 "volume": "2002",
4149 "issue": "14",
4150 "first_page": "2002",
4151 "publication_date": {
4152 "publication_year": "2002"
4153 },
4154 "original_text": "19) C. Park, Z. Ounaies, K.A. Watson, K. Pawlowski, S.E. Lowther, J.W. Connell, E.J. Siochi, J.S. Harrison, and T.L. St Clair, NASA/CR-2002-211940 (2002)."
4155 },
4156 {
4157 "sequence": "20",
4158 "original_text": "20) Y. Huang, J. Liu, I. Ball, and T.K. Minton, Proc. SAMPE 2002, May 12-16, 2002, Long Beach, California, p.1788."
4159 },
4160 {
4161 "sequence": "21",
4162 "doi": "10.1177/0954008303015002003",
4163 "volume": "15",
4164 "first_page": "181",
4165 "publication_date": {
4166 "publication_year": "2003"
4167 },
4168 "original_text": "21) C.M. Thompson, J.G. Smith, Jr., andJ.W. Connell, High Perform. Polym., 15 (2003) p.181."
4169 },
4170 {
4171 "sequence": "22",
4172 "original_text": "22) K.A. Watson, and J.W. Connell, Proc. Fluoropolymer 2000, Savanah, Georgia, October 15.18, 2000."
4173 },
4174 {
4175 "sequence": "23",
4176 "original_text": "23) J.G. Smith Jr., J.W. Connell, and P.M. Hergenrother, Polymer, 35 (1994) p.2834."
4177 },
4178 {
4179 "sequence": "24",
4180 "original_text": "24) K.K. de Groh, B.A. Banks, and R. Demko, Proc. 47th Int. SAMPE Symp. Exh., B.M. Rasmussen, L.A. Pilato, and H.S. Kliger, Eds., Long Beach, Califonia, May 12-16, 2002, p.1279."
4181 },
4182 {
4183 "sequence": "25",
4184 "doi": "10.1021/ma0201779",
4185 "title_list": [
4186 {
4187 "lang": "en",
4188 "title": "Space Environmentally Stable Polyimides and Copolyimides Derived from [2,4-Bis(3-aminophenoxy)phenyl]diphenylphosphine Oxide."
4189 }
4190 ],
4191 "volume": "35",
4192 "issue": "13",
4193 "first_page": "4968",
4194 "last_page": "4974",
4195 "publication_date": {
4196 "publication_year": "2002"
4197 },
4198 "content_language": "en",
4199 "original_text": "25) K.A. Watson, F.L. Palmteri, and J.W. Connell, Macromolecules, 35 (2002) p.4968."
4200 },
4201 {
4202 "sequence": "25",
4203 "doi": "10.1021/ma0201779",
4204 "title_list": [
4205 {
4206 "lang": "en",
4207 "title": "Space Environmentally Stable Polyimides and Copolyimides Derived from [2,4-Bis(3-aminophenoxy)phenyl]diphenylphosphine Oxide."
4208 }
4209 ],
4210 "volume": "35",
4211 "issue": "13",
4212 "first_page": "4968",
4213 "last_page": "4974",
4214 "publication_date": {
4215 "publication_year": "2002"
4216 },
4217 "content_language": "en",
4218 "original_text": "46) K.A. Watson, F.L. Palmieri, and J.W. Connell, Macromolecules, 35 (2002) p.4968."
4219 },
4220 {
4221 "sequence": "26",
4222 "doi": "10.1246/cl.1997.333",
4223 "title_list": [
4224 {
4225 "lang": "en",
4226 "title": "In situ Formed Three Layer Film by Isomerization of Fluorinated Polyisoimide in Polyethersulfone as a Matrix Polymer."
4227 }
4228 ],
4229 "issue": "4",
4230 "first_page": "333",
4231 "last_page": "334",
4232 "publication_date": {
4233 "publication_year": "1997"
4234 },
4235 "creator_list": [
4236 {
4237 "sequence": "1",
4238 "type": "person",
4239 "names": [
4240 {
4241 "lang": "en",
4242 "last_name": "Mochizuki",
4243 "first_name": "Amane"
4244 }
4245 ],
4246 "affiliation_list": [
4247 {
4248 "affiliation_name": "Department of Materials Science and Engineering, Faculty of Engineering, Yamagata University",
4249 "sequence": "1",
4250 "lang": "en"
4251 }
4252 ]
4253 },
4254 {
4255 "sequence": "2",
4256 "type": "person",
4257 "names": [
4258 {
4259 "lang": "en",
4260 "last_name": "Yamada",
4261 "first_name": "Kazuo"
4262 }
4263 ],
4264 "affiliation_list": [
4265 {
4266 "affiliation_name": "Department of Materials Science and Engineering, Faculty of Engineering, Yamagata University",
4267 "sequence": "1",
4268 "lang": "en"
4269 }
4270 ]
4271 },
4272 {
4273 "sequence": "3",
4274 "type": "person",
4275 "names": [
4276 {
4277 "lang": "en",
4278 "last_name": "Ueda",
4279 "first_name": "Mitsuru"
4280 }
4281 ],
4282 "affiliation_list": [
4283 {
4284 "affiliation_name": "Department of Materials Science and Engineering, Faculty of Engineering, Yamagata University",
4285 "sequence": "1",
4286 "lang": "en"
4287 }
4288 ]
4289 },
4290 {
4291 "sequence": "4",
4292 "type": "person",
4293 "names": [
4294 {
4295 "lang": "en",
4296 "last_name": "Yokota",
4297 "first_name": "Rikio"
4298 }
4299 ],
4300 "affiliation_list": [
4301 {
4302 "affiliation_name": "Institute of Space and Astronautical Science",
4303 "sequence": "1",
4304 "lang": "en"
4305 }
4306 ]
4307 }
4308 ],
4309 "content_language": "en",
4310 "original_text": "26) A. Mochizuki, K. Yamada, M. Ueda, and R. Yokota, Chem. Letts. (1997) 333."
4311 },
4312 {
4313 "sequence": "27",
4314 "original_text": "27) K.K. de Groh, J.R. Gaier, R.L. Hall, M.J. Norris, M.P. Espe, and D.R. Cato, Effects of Heating on Teflon FEP Thermal Control Material from the Hubble Space Telescope, NASAITM-2000-209085 (2000)."
4315 },
4316 {
4317 "sequence": "28",
4318 "original_text": "28) K.K. de Groh, and D.C. Smith, Investigation of Teflon FEP Embrittlement on Spacecraft in Low Earth Orbit, NASAITM-113153 (1997)."
4319 },
4320 {
4321 "sequence": "29",
4322 "doi": "10.1126/science.2563171",
4323 "title_list": [
4324 {
4325 "lang": "en",
4326 "title": "Effects of buried ionizable amino acids on the reduction potential of recombinant myoglobin."
4327 }
4328 ],
4329 "volume": "243",
4330 "issue": "4887",
4331 "first_page": "69",
4332 "last_page": "72",
4333 "publication_date": {
4334 "publication_year": "1989"
4335 },
4336 "content_language": "en",
4337 "original_text": "29) McGrath, D. Chen, and J.E. McGrath, Polyimides: Materials, Chemistry and Characterization, C. Feger, M.M. Khojasteh, and J.E. McGrath, eds., Elsevier Science Publishers B.V., Amsterdam (1989) p.69."
4338 },
4339 {
4340 "sequence": "30",
4341 "original_text": "30) J. Visentine, W. Kinard, D. Brinker, B.A Banks, and K. Albyn, J. Spacecraft and Rockets, 39 (2002) p.187."
4342 },
4343 {
4344 "sequence": "31",
4345 "original_text": "31) B.A. Banks, K.K. de Groh, S.K. Rutledge, and C.A. Haytas, Consequences of Atomic Oxygen Interaction with Silicone and Silicone Contamination on Surfaces in Low Earth Orbit, NASAITM-1999-209179 (1999)."
4346 },
4347 {
4348 "sequence": "32",
4349 "original_text": "32) N. Furukawa, Y. Yamada, M. Furukawa, M. Yuasa, and Y. Kimura, J. Polym. Sci., Part A: Polym. Chem., 35 (1997) p.2239."
4350 },
4351 {
4352 "sequence": "33",
4353 "original_text": "33) NASDA Rep. No. AU9-R02-K108 (2003)."
4354 },
4355 {
4356 "sequence": "34",
4357 "original_text": "34) G.B. Hoflund, RI. Gonzalez, and S.H. Phillips, J. Adhesion Sci. Technol., 15 (2001) p.1199."
4358 },
4359 {
4360 "sequence": "35",
4361 "original_text": "35) S.H. Phillips, RI. Gonzalez, R.L. Blanski, B.D. Viers, and G.B. Hoflund, Proc. SAMPE 2002, May 12-16, 2002, Long Beach, California, p.1488."
4362 },
4363 {
4364 "sequence": "36",
4365 "original_text": "36) RI. Ganzalez, Ph.D. Disseration, University ofFlorida, Gainesville, Florida (2002)."
4366 },
4367 {
4368 "sequence": "37",
4369 "original_text": "37) RI. Gonzalex, G.B. Holfund, S.A. Svejda, S.H. Phillips, and B.V. Viers, submitted to Macromolecules."
4370 },
4371 {
4372 "sequence": "38",
4373 "original_text": "38) J.E. McGrath et.al. US Pat. 5,420,225 (1995), US Pat. 5,407,528 (1995), US Pat. 5,387,629 (1995), and US. Pat. 5,134,207 (1992)."
4374 },
4375 {
4376 "sequence": "39",
4377 "doi": "10.1016/0032-3861(95)90668-R",
4378 "title_list": [
4379 {
4380 "lang": "en",
4381 "title": "Oxygen plasma-resistant phenylphosphine oxide-containing polyimides and poly(arylene ether heterocycle)s. 1."
4382 }
4383 ],
4384 "volume": "36",
4385 "issue": "1",
4386 "first_page": "5",
4387 "last_page": "11",
4388 "publication_date": {
4389 "publication_year": "1995"
4390 },
4391 "content_language": "en",
4392 "original_text": "39) J.W. Connell, J.G. Smith Jr., and P.M. Hergenrother, Polymer, 36 (1995) p.5."
4393 },
4394 {
4395 "sequence": "40",
4396 "doi": "10.1016/0032-3861(95)90669-S",
4397 "title_list": [
4398 {
4399 "lang": "en",
4400 "title": "Oxgen plasma-resistant phenylphosphine oxide-containing polyimides and poly(arylene ether heterocycle)s. 2."
4401 }
4402 ],
4403 "volume": "36",
4404 "issue": "1",
4405 "first_page": "13",
4406 "last_page": "19",
4407 "publication_date": {
4408 "publication_year": "1995"
4409 },
4410 "content_language": "en",
4411 "original_text": "40) J.W. Connell, J.G. Smith Jr., and P.M. Hergenrother, Polymer, 36 (1995) p.13."
4412 },
4413 {
4414 "sequence": "41",
4415 "original_text": "41) P. Schuler, R. Haghighat, and H. Mojazza, High Perform. Polym., 11 (1999) p.113."
4416 },
4417 {
4418 "sequence": "42",
4419 "original_text": "42) J.W. Connell, The Effect of Low Earth Orbit Atomic Oxygen Exposure on Phenylphosphine Oxide-Containing Polymers, 44th International SAMPE Symposium and Exhibition, Long Beach, California, May 23-27, 1999."
4420 },
4421 {
4422 "sequence": "43",
4423 "doi": "10.1088/0954-0083/11/1/008",
4424 "title_list": [
4425 {
4426 "lang": "en",
4427 "title": "Electrically conductive space-durable polymeric films for spacecraft thermal and charge control."
4428 }
4429 ],
4430 "volume": "11",
4431 "issue": "1",
4432 "first_page": "101",
4433 "last_page": "111",
4434 "publication_date": {
4435 "publication_year": "1999"
4436 },
4437 "content_language": "en",
4438 "original_text": "43) J. Lennhoff, G. Harris, J. Vaughn, D. Edwards, and J. Zwiener, High Perform. Polym., 11 (1999) p.101."
4439 },
4440 {
4441 "sequence": "44",
4442 "original_text": "44) T.C. Chang,, K.H. Wu, and Y.S. Chiu, Polym. Degrad Stability, 63 (1999) p.103."
4443 },
4444 {
4445 "sequence": "45",
4446 "doi": "10.1016/S0032-3861(02)00362-2",
4447 "original_text": "45) P.M. Hergenrother, K.A. Watson, J.G. Smith Jr., J.W. Connell, and R. Yokota, Polymer, 43 (2002) p.5077."
4448 },
4449 {
4450 "sequence": "46",
4451 "doi": "10.1021/ma0201779",
4452 "title_list": [
4453 {
4454 "lang": "en",
4455 "title": "Space Environmentally Stable Polyimides and Copolyimides Derived from [2,4-Bis(3-aminophenoxy)phenyl]diphenylphosphine Oxide."
4456 }
4457 ],
4458 "volume": "35",
4459 "issue": "13",
4460 "first_page": "4968",
4461 "last_page": "4974",
4462 "publication_date": {
4463 "publication_year": "2002"
4464 },
4465 "content_language": "en",
4466 "original_text": "25) K.A. Watson, F.L. Palmteri, and J.W. Connell, Macromolecules, 35 (2002) p.4968."
4467 },
4468 {
4469 "sequence": "46",
4470 "doi": "10.1021/ma0201779",
4471 "title_list": [
4472 {
4473 "lang": "en",
4474 "title": "Space Environmentally Stable Polyimides and Copolyimides Derived from [2,4-Bis(3-aminophenoxy)phenyl]diphenylphosphine Oxide."
4475 }
4476 ],
4477 "volume": "35",
4478 "issue": "13",
4479 "first_page": "4968",
4480 "last_page": "4974",
4481 "publication_date": {
4482 "publication_year": "2002"
4483 },
4484 "content_language": "en",
4485 "original_text": "46) K.A. Watson, F.L. Palmieri, and J.W. Connell, Macromolecules, 35 (2002) p.4968."
4486 },
4487 {
4488 "sequence": "47",
4489 "original_text": "47) K.A. Watson, and J.W. Connell, Space Environmentally Stable Polyimides and Copolyimides, 45th International SAMPE Symposium and Exhibit, Long Beach, California, May 21-25, 2000."
4490 },
4491 {
4492 "sequence": "48",
4493 "original_text": "48) C. M. Thompson, J. G. Smith, Jr., K. A. Watson and J. W. Connell, Polyimides Containing Pendent Phosphine Oxide Groups for Space Applications, 34th International SAMPE Technical Conference, Baltimore, Maryland, November 4-7, 2002."
4494 },
4495 {
4496 "sequence": "49",
4497 "original_text": "49) H. Zhuang, Ph.D. Dissertation, Virginia Polytechnic Institute and State University, Blacksburg, Virginir (1998)."
4498 },
4499 {
4500 "sequence": "50",
4501 "original_text": "50) S. Wang, Ph.D. Dissertation, Virginia Polytechnic Institute and State University, Blacksburg, Virginir (2000)."
4502 },
4503 {
4504 "sequence": "51",
4505 "original_text": "51) S. Y. Lu, and I. Hamerton, Prag. Polym. Sci., 27 (2002) p.1661."
4506 }
4507 ]
4508 }
4509 }
4510 jalc_processor = JalcProcessing()
4511 pages = jalc_processor._extract_pages(item_dict["data"])
4512 self.assertEqual(pages, '')
4514 def test_get_ja_with_japanese(self):
4515 list_input = [{"publisher_name": "Japanese Rocket Society", "lang": "en"}, {"publisher_name": "特定非営利活動法人 日本ロケット協会", "lang": "ja"}]
4516 jalc_processor = JalcProcessing()
4517 ja = jalc_processor.get_ja(list_input)
4518 expected_out = [{"publisher_name": "特定非営利活動法人 日本ロケット協会", "lang": "ja"}]
4519 self.assertEqual(ja, expected_out)
4521 def test_get_ja_without_japanese(self):
4522 list_input = [{"lang": "en", "title": "Ozone Measurement by MT-135 Rocket"}]
4523 jalc_processor = JalcProcessing()
4524 en = jalc_processor.get_ja(list_input)
4525 expected_out = [{"lang": "en", "title": "Ozone Measurement by MT-135 Rocket"}]
4526 self.assertEqual(en, expected_out)
4528 def test_to_validated_id_list(self):
4529 inp_1 = {'id': 'doi:10.13039/100005522', 'schema': 'doi'}
4530 j_p = JalcProcessing()
4531 # CASE1_1: No already validated ids + 1 id to be validated, which is valid
4532 out_1 = j_p.to_validated_id_list(inp_1)
4533 exp_1 = ['doi:10.13039/100005522']
4534 self.assertEqual(out_1, exp_1)
4535 j_p.storage_manager.delete_storage()
4537 def test_get_agents_strings_list_with_orcid_index(self):
4538 """Test aggiunta ORCID da index per autore"""
4539 jalc_processor = JalcProcessing()
4540 csv_manager = CSVManager()
4541 csv_manager.data = {
4542 'doi:10.11178/example.1': {
4543 '山田, 太郎 [0000-0001-2345-6789]'
4544 }
4545 }
4546 jalc_processor.orcid_index = csv_manager
4547 jalc_processor.prefetch_doi_orcid_index([self.entity_dict_single_author["data"]["doi"]])
4549 authors_list = jalc_processor._extract_agents(self.entity_dict_single_author["data"])
4550 authors_strings_list, _ = jalc_processor.get_agents_strings_list(
4551 self.entity_dict_single_author["data"]["doi"],
4552 authors_list
4553 )
4555 expected_authors = ['山田, 太郎 [orcid:0000-0001-2345-6789]']
4556 self.assertEqual(authors_strings_list, expected_authors)
4558 def test_get_agents_strings_list_partial_orcid_index(self):
4559 """Test quando l'ORCID index contiene solo uno degli autori omonimi"""
4560 jalc_processor = JalcProcessing()
4561 csv_manager = CSVManager()
4562 csv_manager.data = {
4563 'doi:10.11178/example.2': {
4564 '田中, 一郎 [0000-0003-4567-8901]'
4565 }
4566 }
4567 jalc_processor.orcid_index = csv_manager
4568 jalc_processor.prefetch_doi_orcid_index([self.entity_dict_homonyms["data"]["doi"]])
4570 authors_list = jalc_processor._extract_agents(self.entity_dict_homonyms["data"])
4571 authors_strings_list, _ = jalc_processor.get_agents_strings_list(
4572 self.entity_dict_homonyms["data"]["doi"],
4573 authors_list
4574 )
4576 # In caso di omonimi perfetti, l'ORCID non viene assegnato a nessuno
4577 expected_authors = ['田中, 一郎', '田中, 一郎']
4578 self.assertEqual(authors_strings_list, expected_authors)
4580 def test_get_agents_strings_list_empty_orcid_index(self):
4581 """Test quando l'ORCID index è vuoto"""
4582 jalc_processor = JalcProcessing()
4583 csv_manager = CSVManager()
4584 csv_manager.data = {}
4585 jalc_processor.orcid_index = csv_manager
4586 jalc_processor.prefetch_doi_orcid_index([self.entity_dict_single_author["data"]["doi"]])
4588 authors_list = jalc_processor._extract_agents(self.entity_dict_single_author["data"])
4589 authors_strings_list, _ = jalc_processor.get_agents_strings_list(
4590 self.entity_dict_single_author["data"]["doi"],
4591 authors_list
4592 )
4594 expected_authors = ['山田, 太郎']
4595 self.assertEqual(authors_strings_list, expected_authors)
4597 def test_extract_agents_with_orcid_from_researcher_id_list(self):
4598 """Test extraction of ORCID from researcher_id_list in creator metadata"""
4599 jalc_processor = JalcProcessing()
4600 authors_list = jalc_processor._extract_agents(
4601 self.entity_dict_with_orcid_in_metadata["data"]
4602 )
4604 self.assertEqual(len(authors_list), 2)
4605 self.assertEqual(authors_list[0]['family'], 'LIN')
4606 self.assertEqual(authors_list[0]['given'], 'Weiren')
4607 self.assertEqual(authors_list[0]['orcid'], 'http://orcid.org/0000-0003-3228-2789')
4608 self.assertNotIn('orcid', authors_list[1])
4610 def test_get_agents_strings_list_with_orcid_from_researcher_id_list(self):
4611 """Test that ORCID from researcher_id_list is included in author string"""
4612 jalc_processor = JalcProcessing()
4613 csv_manager = CSVManager()
4614 csv_manager.data = {}
4615 jalc_processor.orcid_index = csv_manager
4617 authors_list = jalc_processor._extract_agents(
4618 self.entity_dict_with_orcid_in_metadata["data"]
4619 )
4620 authors_strings_list, _ = jalc_processor.get_agents_strings_list(
4621 self.entity_dict_with_orcid_in_metadata["data"]["doi"],
4622 authors_list
4623 )
4625 expected_authors = ['LIN, Weiren [orcid:0000-0003-3228-2789]', 'SMITH, John']
4626 self.assertEqual(authors_strings_list, expected_authors)
4629if __name__ == '__main__':
4630 unittest.main()