diff --git a/.mailmap b/.mailmap index ab924a2e42..1565f69fa5 100644 --- a/.mailmap +++ b/.mailmap @@ -36,9 +36,11 @@ Caroline Froehlich Christopher J. Markiewicz Christopher J. Markiewicz Christopher J. Markiewicz +Christopher John Steele Cindee Madison Colin Buchanan Colin Buchanan +Colin Buchanan Daniel Brenner Daniel Clark Daniel Geisler diff --git a/.zenodo.json b/.zenodo.json index 6b2ea6a675..83d940fa28 100644 --- a/.zenodo.json +++ b/.zenodo.json @@ -11,19 +11,12 @@ "orcid": "0000-0002-6533-164X" }, { - "affiliation": "University of Iowa", - "name": "Johnson, Hans", - "orcid": "0000-0001-9513-2660" - }, - { - "affiliation": "Independent", - "name": "Ziegler, Erik", - "orcid": "0000-0003-1857-8129" + "name": "Burns, Christopher" }, { - "affiliation": "Klinikum rechts der Isar, TUM. ACPySS", - "name": "Manh\u00e3es-Savio, Alexandre", - "orcid": "0000-0002-6608-6885" + "affiliation": "MIT", + "name": "Goncalves, Mathias", + "orcid": "0000-0002-7252-7771" }, { "affiliation": "MIT", @@ -31,7 +24,12 @@ "orcid": "0000-0001-8282-2988" }, { - "name": "Burns, Christopher" + "affiliation": "Independent", + "name": "Ziegler, Erik", + "orcid": "0000-0003-1857-8129" + }, + { + "name": "Berleant, Shoshana" }, { "affiliation": "The University of Iowa", @@ -39,8 +37,14 @@ "orcid": "0000-0002-3718-6836" }, { - "name": "Hamalainen, Carlo", - "orcid": "0000-0001-7655-3830" + "name": "Pinsard, Basile" + }, + { + "name": "Madison, Cindee" + }, + { + "affiliation": "Department of Psychology, Stanford University", + "name": "Waskom, Michael" }, { "affiliation": "The Laboratory for Investigative Neurophysiology (The LINE), Department of Radiology and Department of Clinical Neurosciences, Lausanne, Switzerland; Center for Biomedical Imaging (CIBM), Lausanne, Switzerland", @@ -48,21 +52,19 @@ "orcid": "0000-0002-5866-047X" }, { - "name": "Yvernault, Benjamin" - }, - { - "affiliation": "Florida International University", - "name": "Salo, Taylor", - "orcid": "0000-0001-9813-3167" + "affiliation": "Developer", + "name": "Clark, Daniel", + "orcid": "0000-0002-8121-8954" }, { - "affiliation": "Department of Psychology, Stanford University", - "name": "Waskom, Michael" + "affiliation": "Klinikum rechts der Isar, TUM. ACPySS", + "name": "Manh\u00e3es-Savio, Alexandre", + "orcid": "0000-0002-6608-6885" }, { - "affiliation": "MIT", - "name": "Goncalves, Mathias", - "orcid": "0000-0002-7252-7771" + "affiliation": "UC Berkeley", + "name": "Clark, Dav", + "orcid": "0000-0002-3982-4416" }, { "affiliation": "University of California, San Francisco", @@ -70,33 +72,36 @@ "orcid": "0000-0001-6313-0580" }, { - "affiliation": "Shattuck Lab, UCLA Brain Mapping Center", - "name": "Wong, Jason" + "affiliation": "Mayo Clinic, Neurology, Rochester, MN, USA", + "name": "Dayan, Michael", + "orcid": "0000-0002-2666-0969" }, { - "affiliation": "Department of Electrical and Computer Engineering, Johns Hopkins University", - "name": "Dewey, Blake E", - "orcid": "0000-0003-4554-5058" + "name": "Loney, Fred" }, { - "name": "Madison, Cindee" + "affiliation": "Dartmouth College: Hanover, NH, United States", + "name": "Halchenko, Yaroslav O.", + "orcid": "0000-0003-3456-2493" }, { - "affiliation": "Concordia University", - "name": "Benderoff, Erin" + "affiliation": "Florida International University", + "name": "Salo, Taylor", + "orcid": "0000-0001-9813-3167" }, { - "affiliation": "Developer", - "name": "Clark, Daniel", - "orcid": "0000-0002-8121-8954" + "affiliation": "Department of Electrical and Computer Engineering, Johns Hopkins University", + "name": "Dewey, Blake E", + "orcid": "0000-0003-4554-5058" }, { - "name": "Loney, Fred" + "affiliation": "University of Iowa", + "name": "Johnson, Hans", + "orcid": "0000-0001-9513-2660" }, { - "affiliation": "UC Berkeley", - "name": "Clark, Dav", - "orcid": "0000-0002-3982-4416" + "affiliation": "Molecular Imaging Research Center, CEA, France", + "name": "Bougacha, Salma" }, { "affiliation": "UC Berkeley - UCSF Graduate Program in Bioengineering", @@ -104,47 +109,39 @@ "orcid": "0000-0003-3554-043X" }, { - "affiliation": "The Centre for Addiction and Mental Health", - "name": "Joseph, Michael", - "orcid": "0000-0002-0068-230X" - }, - { - "affiliation": "National Institute of Mental Health", - "name": "Nielson, Dylan M.", - "orcid": "0000-0003-4613-6643" - }, - { - "affiliation": "Mayo Clinic, Neurology, Rochester, MN, USA", - "name": "Dayan, Michael", - "orcid": "0000-0002-2666-0969" + "name": "Yvernault, Benjamin" }, { - "name": "Modat, Marc" + "name": "Hamalainen, Carlo", + "orcid": "0000-0001-7655-3830" }, { - "affiliation": "CNRS LTCI, Telecom ParisTech, Universit\u00e9 Paris-Saclay", - "name": "Gramfort, Alexandre", - "orcid": "0000-0001-9791-4404" + "affiliation": "Stanford University", + "name": "\u0106iri\u0107 , Rastko", + "orcid": "0000-0001-6347-7939" }, { - "affiliation": "Molecular Imaging Research Center, CEA, France", - "name": "Bougacha, Salma" + "affiliation": "Institute for Biomedical Engineering, ETH and University of Zurich", + "name": "Christian, Horea", + "orcid": "0000-0001-7037-2449" }, { - "name": "Pinsard, Basile" + "name": "Dubois, Mathieu" }, { - "name": "Berleant, Shoshana" + "affiliation": "The Centre for Addiction and Mental Health", + "name": "Joseph, Michael", + "orcid": "0000-0002-0068-230X" }, { - "affiliation": "Institute for Biomedical Engineering, ETH and University of Zurich", - "name": "Christian, Horea", - "orcid": "0000-0001-7037-2449" + "affiliation": "UC San Diego", + "name": "Cipollini, Ben", + "orcid": "0000-0002-7782-0790" }, { - "affiliation": "The University of Washington eScience Institute", - "name": "Rokem, Ariel", - "orcid": "0000-0003-0679-1985" + "affiliation": "Holland Bloorview Kids Rehabilitation Hospital", + "name": "Tilley II, Steven", + "orcid": "0000-0003-4853-5082" }, { "affiliation": "Dartmouth College", @@ -152,9 +149,13 @@ "orcid": "0000-0001-7931-5272" }, { - "affiliation": "Dartmouth College: Hanover, NH, United States", - "name": "Halchenko, Yaroslav O.", - "orcid": "0000-0003-3456-2493" + "affiliation": "Shattuck Lab, UCLA Brain Mapping Center", + "name": "Wong, Jason" + }, + { + "affiliation": "University of Texas at Austin", + "name": "De La Vega, Alejandro", + "orcid": "0000-0001-9062-3778" }, { "affiliation": "MIT", @@ -162,151 +163,150 @@ "orcid": "0000-0002-5544-7577" }, { - "affiliation": "INRIA", - "name": "Varoquaux, Gael", - "orcid": "0000-0003-1076-5122" + "affiliation": "Research Group Neuroanatomy and Connectivity, Max Planck Institute for Human Cognitive and Brain Sciences, Leipzig, Germany", + "name": "Huntenburg, Julia M.", + "orcid": "0000-0003-0579-9811" }, { - "affiliation": "Stanford University", - "name": "\u0106iri\u0107 , Rastko", - "orcid": "0000-0001-6347-7939" + "affiliation": "National Institutes of Health", + "name": "Clark, Michael G. " }, { - "name": "Moloney, Brendan" + "affiliation": "Concordia University", + "name": "Benderoff, Erin" }, { - "affiliation": "Montreal Neurological Institute and Hospital", - "name": "DuPre, Elizabeth", - "orcid": "0000-0003-1358-196X" + "name": "Erickson, Drew" }, { - "affiliation": "Indiana University, IN, USA", - "name": "Koudoro, Serge" + "affiliation": "Otto-von-Guericke-University Magdeburg, Germany", + "name": "Hanke, Michael", + "orcid": "0000-0001-6398-6370" }, { - "affiliation": "National Institutes of Health", - "name": "Clark, Michael G. " + "affiliation": "Child Mind Institute", + "name": "Giavasis, Steven" }, { - "affiliation": "UC San Diego", - "name": "Cipollini, Ben", - "orcid": "0000-0002-7782-0790" + "name": "Moloney, Brendan" }, { - "affiliation": "Athena EPI, Inria Sophia-Antipolis", - "name": "Wassermann, Demian", - "orcid": "0000-0001-5194-6056" + "affiliation": "Neuroscience Program, University of Iowa", + "name": "Kent, James D.", + "orcid": "0000-0002-4892-2659" }, { - "affiliation": "ARAMIS LAB, Brain and Spine Institute (ICM), Paris, France.", - "name": "Guillon, Je\u0301re\u0301my", - "orcid": "0000-0002-2672-7510" + "affiliation": "SRI International", + "name": "Nichols, B. Nolan", + "orcid": "0000-0003-1099-3328" }, { - "affiliation": "Montreal Neurological Institute and Hospital", - "name": "Markello, Ross", - "orcid": "0000-0003-1057-1336" + "name": "Tungaraza, Rosalia" }, { - "affiliation": "Otto-von-Guericke-University Magdeburg, Germany", - "name": "Hanke, Michael", - "orcid": "0000-0001-6398-6370" + "affiliation": "Child Mind Institute", + "name": "Frohlich, Caroline" }, { - "name": "Buchanan, Colin" + "affiliation": "Athena EPI, Inria Sophia-Antipolis", + "name": "Wassermann, Demian", + "orcid": "0000-0001-5194-6056" }, { - "name": "Tungaraza, Rosalia" + "affiliation": "Vrije Universiteit, Amsterdam", + "name": "de Hollander, Gilles", + "orcid": "0000-0003-1988-5091" }, { - "affiliation": "Australian eHealth Research Centre, Commonwealth Scientific and Industrial Research Organisation; University of Queensland", - "name": "Gillman, Ashley", - "orcid": "0000-0001-9130-1092" + "affiliation": "University College London", + "name": "Eshaghi, Arman", + "orcid": "0000-0002-6652-3512" }, { - "affiliation": "California Institute of Technology", - "name": "Pauli, Wolfgang M.", - "orcid": "0000-0002-0966-0254" + "name": "Millman, Jarrod" }, { - "affiliation": "Vrije Universiteit, Amsterdam", - "name": "de Hollander, Gilles", - "orcid": "0000-0003-1988-5091" + "affiliation": "National Institute of Mental Health", + "name": "Nielson, Dylan M.", + "orcid": "0000-0003-4613-6643" }, { - "affiliation": "Nathan s Kline institute for psychiatric research", - "name": "Sikka, Sharad" + "affiliation": "INRIA", + "name": "Varoquaux, Gael", + "orcid": "0000-0003-1076-5122" }, { - "name": "Forbes, Jessica" + "name": "Watanabe, Aimi" }, { "name": "Mordom, David" }, { - "affiliation": "Duke University", - "name": "Iqbal, Shariq", - "orcid": "0000-0003-2766-8425" + "affiliation": "ARAMIS LAB, Brain and Spine Institute (ICM), Paris, France.", + "name": "Guillon, Je\u0301re\u0301my", + "orcid": "0000-0002-2672-7510" }, { - "affiliation": "University College London", - "name": "Mancini, Matteo", - "orcid": "0000-0001-7194-4568" + "affiliation": "Indiana University, IN, USA", + "name": "Koudoro, Serge" }, { - "affiliation": "University College London", - "name": "Malone, Ian B.", - "orcid": "0000-0001-7512-7856" + "affiliation": "Donders Institute for Brain, Cognition and Behavior, Center for Cognitive Neuroimaging", + "name": "Chetverikov, Andrey", + "orcid": "0000-0003-2767-6310" }, { - "name": "Dubois, Mathieu" + "affiliation": "The University of Washington eScience Institute", + "name": "Rokem, Ariel", + "orcid": "0000-0003-0679-1985" }, { - "name": "Schwartz, Yannick" + "affiliation": "Washington University in St Louis", + "name": "Acland, Benjamin", + "orcid": "0000-0001-6392-6634" }, { - "affiliation": "Child Mind Institute", - "name": "Frohlich, Caroline" + "name": "Forbes, Jessica" }, { - "affiliation": "Max Planck Institute for Human Cognitive and Brain Sciences, Leipzig, Germany.", - "name": "Tabas, Alejandro", - "orcid": "0000-0002-8643-1543" + "affiliation": "Montreal Neurological Institute and Hospital", + "name": "Markello, Ross", + "orcid": "0000-0003-1057-1336" }, { - "affiliation": "University of Iowa", - "name": "Welch, David" + "affiliation": "Australian eHealth Research Centre, Commonwealth Scientific and Industrial Research Organisation; University of Queensland", + "name": "Gillman, Ashley", + "orcid": "0000-0001-9130-1092" }, { - "affiliation": "University of Washington", - "name": "Richie-Halford, Adam", - "orcid": "0000-0001-9276-9084" + "affiliation": "State Key Laboratory of Cognitive Neuroscience and Learning & IDG/McGovern Institute for Brain Research, Beijing Normal University, Beijing, China; Max Planck Institute for Psycholinguistics, Nijmegen, the Netherlands", + "name": "Kong, Xiang-Zhen", + "orcid": "0000-0002-0805-1350" }, { - "affiliation": "Holland Bloorview Kids Rehabilitation Hospital", - "name": "Tilley II, Steven", - "orcid": "0000-0003-4853-5082" + "name": "Salvatore, John" }, { - "name": "Watanabe, Aimi" + "affiliation": "University College London", + "name": "Mancini, Matteo", + "orcid": "0000-0001-7194-4568" }, { - "affiliation": "SRI International", - "name": "Nichols, B. Nolan", - "orcid": "0000-0003-1099-3328" + "affiliation": "CNRS LTCI, Telecom ParisTech, Universit\u00e9 Paris-Saclay", + "name": "Gramfort, Alexandre", + "orcid": "0000-0001-9791-4404" }, { - "affiliation": "Research Group Neuroanatomy and Connectivity, Max Planck Institute for Human Cognitive and Brain Sciences, Leipzig, Germany", - "name": "Huntenburg, Julia M.", - "orcid": "0000-0003-0579-9811" + "name": "Buchanan, Colin" }, { - "affiliation": "University College London", - "name": "Eshaghi, Arman", - "orcid": "0000-0002-6652-3512" + "affiliation": "Montreal Neurological Institute and Hospital", + "name": "DuPre, Elizabeth", + "orcid": "0000-0003-1358-196X" }, { - "name": "Ginsburg, Daniel" + "affiliation": "The University of Sydney", + "name": "Liu, Siqi" }, { "affiliation": "National University Singapore", @@ -314,251 +314,259 @@ "orcid": "0000-0001-6488-4739" }, { - "affiliation": "Florida International University", - "name": "Bottenhorn, Katherine", - "orcid": "0000-0002-7796-8795" + "affiliation": "UniversityHospital Heidelberg, Germany", + "name": "Kleesiek, Jens" }, { - "name": "Cumba, Chad" + "affiliation": "Nathan s Kline institute for psychiatric research", + "name": "Sikka, Sharad" }, { - "affiliation": "Washington University in St Louis", - "name": "Acland, Benjamin", - "orcid": "0000-0001-6392-6634" + "name": "Schwartz, Yannick" }, { - "name": "Heinsfeld, Anibal S\u00f3lon", - "orcid": "0000-0002-2050-0614" + "affiliation": "NIMH IRP", + "name": "Lee, John A.", + "orcid": "0000-0001-5884-4247" }, { - "affiliation": "Harvard University - Psychology", - "name": "Kastman, Erik", - "orcid": "0000-0001-7221-9042" + "name": "Mattfeld, Aaron" }, { - "affiliation": "Neuroscience Program, University of Iowa", - "name": "Kent, James D.", - "orcid": "0000-0002-4892-2659" + "affiliation": "University of Washington", + "name": "Richie-Halford, Adam", + "orcid": "0000-0001-9276-9084" }, { - "affiliation": "UniversityHospital Heidelberg, Germany", - "name": "Kleesiek, Jens" + "affiliation": "University of Zurich", + "name": "Liem, Franz", + "orcid": "0000-0003-0646-4810" }, { - "name": "Erickson, Drew" + "affiliation": "Neurospin/Unicog/Inserm/CEA", + "name": "Perez-Guevara, Martin Felipe", + "orcid": "0000-0003-4497-861X" }, { - "affiliation": "The University of Iowa", - "name": "Ghayoor, Ali", - "orcid": "0000-0002-8858-1254" + "name": "Heinsfeld, Anibal S\u00f3lon", + "orcid": "0000-0002-2050-0614" }, { - "affiliation": "Child Mind Institute", - "name": "Giavasis, Steven" + "name": "Haselgrove, Christian" }, { - "affiliation": "University of Texas at Austin", - "name": "De La Vega, Alejandro", - "orcid": "0000-0001-9062-3778" + "affiliation": "Department of Psychology, Stanford University; Parietal, INRIA", + "name": "Durnez, Joke", + "orcid": "0000-0001-9030-2202" }, { - "affiliation": "University of Zurich", - "name": "Liem, Franz", - "orcid": "0000-0003-0646-4810" + "affiliation": "MPI CBS Leipzig, Germany", + "name": "Lampe, Leonie" }, { - "name": "K\u00fcttner, Ren\u00e9" + "name": "Poldrack, Russell" }, { - "affiliation": "Neurospin/Unicog/Inserm/CEA", - "name": "Perez-Guevara, Martin Felipe", - "orcid": "0000-0003-4497-861X" + "affiliation": "1 McGill Centre for Integrative Neuroscience (MCIN), Ludmer Centre for Neuroinformatics and Mental Health, Montreal Neurological Institute (MNI), McGill University, Montr\u00e9al, 3801 University Street, WB-208, H3A 2B4, Qu\u00e9bec, Canada. 2 University of Lyon, CNRS, INSERM, CREATIS., Villeurbanne, 7, avenue Jean Capelle, 69621, France.", + "name": "Glatard, Tristan", + "orcid": "0000-0003-2620-5883" }, { - "affiliation": "NIMH IRP", - "name": "Lee, John A.", - "orcid": "0000-0001-5884-4247" + "affiliation": "Max Planck Institute for Human Cognitive and Brain Sciences, Leipzig, Germany.", + "name": "Tabas, Alejandro", + "orcid": "0000-0002-8643-1543" }, { - "name": "Millman, Jarrod" + "name": "Cumba, Chad" }, { - "name": "Lai, Jeff" + "name": "Blair, Ross" }, { - "name": "Zhou, Dale" + "affiliation": "Duke University", + "name": "Iqbal, Shariq", + "orcid": "0000-0003-2766-8425" }, { - "name": "Haselgrove, Christian" + "affiliation": "University of Iowa", + "name": "Welch, David" }, { - "affiliation": "NIMH, Scientific and Statistical Computing Core", - "name": "Glen, Daniel", - "orcid": "0000-0001-8456-5647" + "affiliation": "Department of Psychology, Stanford University", + "name": "Triplett, William", + "orcid": "0000-0002-9546-1306" }, { - "name": "Renfro, Mandy" + "affiliation": "Child Mind Institute", + "name": "Craddock, R. Cameron", + "orcid": "0000-0002-4950-1303" }, { "name": "Correa, Carlos" }, { - "affiliation": "The University of Sydney", - "name": "Liu, Siqi" + "affiliation": "CEA", + "name": "Papadopoulos Orfanos, Dimitri", + "orcid": "0000-0002-1242-8990" }, { - "affiliation": "MPI CBS Leipzig, Germany", - "name": "Lampe, Leonie" + "affiliation": "University College London", + "name": "P\u00e9rez-Garc\u00eda, Fernando", + "orcid": "0000-0001-9090-3024" }, { - "affiliation": "State Key Laboratory of Cognitive Neuroscience and Learning & IDG/McGovern Institute for Brain Research, Beijing Normal University, Beijing, China; Max Planck Institute for Psycholinguistics, Nijmegen, the Netherlands", - "name": "Kong, Xiang-Zhen", - "orcid": "0000-0002-0805-1350" + "affiliation": "Leibniz Institute for Neurobiology", + "name": "Stadler, J\u00f6rg", + "orcid": "0000-0003-4313-129X" }, { - "name": "Hallquist, Michael" + "affiliation": "Mayo Clinic", + "name": "Warner, Joshua", + "orcid": "0000-0003-3579-4835" }, { - "affiliation": "Korea Advanced Institute of Science and Technology", - "name": "Kim, Sin", - "orcid": "0000-0003-4652-3758" + "affiliation": "Yale University; New Haven, CT, United States", + "name": "Sisk, Lucinda M.", + "orcid": "0000-0003-4900-9770" }, { - "affiliation": "University of Pennsylvania", - "name": "Kahn, Ari E.", - "orcid": "0000-0002-2127-0507" + "name": "Falkiewicz, Marcel" }, { - "affiliation": "1 McGill Centre for Integrative Neuroscience (MCIN), Ludmer Centre for Neuroinformatics and Mental Health, Montreal Neurological Institute (MNI), McGill University, Montr\u00e9al, 3801 University Street, WB-208, H3A 2B4, Qu\u00e9bec, Canada. 2 University of Lyon, CNRS, INSERM, CREATIS., Villeurbanne, 7, avenue Jean Capelle, 69621, France.", - "name": "Glatard, Tristan", - "orcid": "0000-0003-2620-5883" + "affiliation": "University of Illinois Urbana Champaign", + "name": "Sharp, Paul" }, { - "affiliation": "Department of Psychology, Stanford University", - "name": "Triplett, William", - "orcid": "0000-0002-9546-1306" + "name": "Rothmei, Simon" }, { - "affiliation": "INRIA-Saclay, Team Parietal", - "name": "Chawla, Kshitij", - "orcid": "0000-0002-7517-6321" + "name": "Weinstein, Alejandro" }, { - "name": "Salvatore, John" + "affiliation": "The University of Iowa", + "name": "Ghayoor, Ali", + "orcid": "0000-0002-8858-1254" }, { - "affiliation": "University College London", - "name": "P\u00e9rez-Garc\u00eda, Fernando", - "orcid": "0000-0001-9090-3024" + "affiliation": "University of Pennsylvania", + "name": "Kahn, Ari E.", + "orcid": "0000-0002-2127-0507" }, { - "affiliation": "Dartmouth College", - "name": "Ma, Feilong", - "orcid": "0000-0002-6838-3971" + "affiliation": "Harvard University - Psychology", + "name": "Kastman, Erik", + "orcid": "0000-0001-7221-9042" }, { - "name": "Park, Anne" + "affiliation": "Florida International University", + "name": "Bottenhorn, Katherine", + "orcid": "0000-0002-7796-8795" }, { - "affiliation": "Max Planck UCL Centre for Computational Psychiatry and Ageing Research, University College London", - "name": "Stojic, Hrvoje", - "orcid": "0000-0002-9699-9052" + "affiliation": "GIGA Institute", + "name": "Grignard, Martin", + "orcid": "0000-0001-5549-1861" }, { - "affiliation": "Child Mind Institute", - "name": "Craddock, R. Cameron", - "orcid": "0000-0002-4950-1303" + "affiliation": "Boston University", + "name": "Perkins, L. Nathan" }, { - "name": "Hinds, Oliver" + "affiliation": "Otto-von-Guericke-University Magdeburg, Germany", + "name": "Contier, Oliver", + "orcid": "0000-0002-2983-4709" }, { - "name": "Poldrack, Russell" + "name": "Zhou, Dale" }, { - "affiliation": "Boston University", - "name": "Perkins, L. Nathan" + "name": "Bielievtsov, Dmytro", + "orcid": "0000-0003-3846-7696" }, { - "affiliation": "University of Amsterdam", - "name": "Snoek, Lukas", - "orcid": "0000-0001-8972-204X" + "affiliation": "University of Newcastle, Australia", + "name": "Cooper, Gavin", + "orcid": "0000-0002-7186-5293" }, { - "affiliation": "Donders Institute for Brain, Cognition and Behavior, Center for Cognitive Neuroimaging", - "name": "Chetverikov, Andrey", - "orcid": "0000-0003-2767-6310" + "affiliation": "Max Planck UCL Centre for Computational Psychiatry and Ageing Research, University College London", + "name": "Stojic, Hrvoje", + "orcid": "0000-0002-9699-9052" + }, + { + "affiliation": "German Institute for International Educational Research", + "name": "Linkersd\u00f6rfer, Janosch", + "orcid": "0000-0002-1577-1233" }, { - "name": "Inati, Souheil" + "name": "Renfro, Mandy" }, { - "affiliation": "GIGA Institute", - "name": "Grignard, Martin", - "orcid": "0000-0001-5549-1861" + "name": "Hinds, Oliver" }, { - "affiliation": "Yale University; New Haven, CT, United States", - "name": "Sisk, Lucinda M.", - "orcid": "0000-0003-4900-9770" + "affiliation": "Dept of Medical Biophysics, Univeristy of Western Ontario", + "name": "Stanley, Olivia" }, { - "affiliation": "TIB \u2013 Leibniz Information Centre for Science and Technology and University Library, Hannover, Germany", - "name": "Leinweber, Katrin", - "orcid": "0000-0001-5135-5758" + "name": "K\u00fcttner, Ren\u00e9" }, { - "affiliation": "University of Pennsylvania", - "name": "Junhao WEN", - "orcid": "0000-0003-2077-3070" + "affiliation": "Korea Advanced Institute of Science and Technology", + "name": "Kim, Sin", + "orcid": "0000-0003-4652-3758" }, { - "name": "Urchs, Sebastian" + "affiliation": "California Institute of Technology", + "name": "Pauli, Wolfgang M.", + "orcid": "0000-0002-0966-0254" }, { - "name": "Blair, Ross" + "affiliation": "NIMH, Scientific and Statistical Computing Core", + "name": "Glen, Daniel", + "orcid": "0000-0001-8456-5647" }, { - "name": "Matsubara, K" + "affiliation": "University of Pittsburgh", + "name": "Meyers, Benjamin", + "orcid": "0000-0001-9137-4363" }, { - "affiliation": "The University of Texas at Austin", - "name": "Floren, Andrew", - "orcid": "0000-0003-3618-2056" + "name": "Tarbert, Claire" }, { - "name": "Mattfeld, Aaron" + "affiliation": "Technische Universit\u00e4t Dresden, Faculty of Medicine, Department of Child and Adolescent Psychiatry", + "name": "Geisler, Daniel", + "orcid": "0000-0003-2076-5329" }, { - "affiliation": "Institute of Neuroinformatics, ETH/University of Zurich", - "name": "Gerhard, Stephan", - "orcid": "0000-0003-4454-6171" + "name": "Ginsburg, Daniel" }, { - "affiliation": "Leibniz Institute for Neurobiology", - "name": "Stadler, J\u00f6rg", - "orcid": "0000-0003-4313-129X" + "name": "Haehn, Daniel" }, { - "affiliation": "University of Newcastle, Australia", - "name": "Cooper, Gavin", - "orcid": "0000-0002-7186-5293" + "affiliation": "Max Planck Research Group for Neuroanatomy & Connectivity, Max Planck Institute for Human Cognitive and Brain Sciences, Leipzig, Germany", + "name": "Margulies, Daniel S.", + "orcid": "0000-0002-8880-9204" }, { - "name": "Haehn, Daniel" + "affiliation": "Dartmouth College", + "name": "Ma, Feilong", + "orcid": "0000-0002-6838-3971" }, { - "affiliation": "Duke University", - "name": "Broderick, William", - "orcid": "0000-0002-8999-9003" + "affiliation": "University College London", + "name": "Malone, Ian B.", + "orcid": "0000-0001-7512-7856" }, { - "affiliation": "University of Helsinki", - "name": "Andberg, Sami Kristian", - "orcid": "0000-0002-5650-3964" + "affiliation": "University of Amsterdam", + "name": "Snoek, Lukas", + "orcid": "0000-0001-8972-204X" }, { - "name": "Noel, Maxime" + "name": "Brett, Matthew" }, { "affiliation": "Department of Neuropsychiatry, University of Pennsylvania", @@ -566,124 +574,122 @@ "orcid": "0000-0002-1931-4734" }, { - "affiliation": "Department of Psychology, Stanford University; Parietal, INRIA", - "name": "Durnez, Joke", - "orcid": "0000-0001-9030-2202" - }, - { - "affiliation": "CNRS, UMS3552 IRMaGe", - "name": "Condamine, Eric", - "orcid": "0000-0002-9533-3769" + "name": "Hallquist, Michael" }, { - "affiliation": "CEA", - "name": "Papadopoulos Orfanos, Dimitri", - "orcid": "0000-0002-1242-8990" + "affiliation": "Technical University Munich", + "name": "Molina-Romero, Miguel", + "orcid": "0000-0001-8054-0426" }, { - "affiliation": "Technische Universit\u00e4t Dresden, Faculty of Medicine, Department of Child and Adolescent Psychiatry", - "name": "Geisler, Daniel", - "orcid": "0000-0003-2076-5329" + "affiliation": "National Institute on Aging, Baltimore, MD, USA", + "name": "Bilgel, Murat", + "orcid": "0000-0001-5042-7422" }, { - "affiliation": "University of Pittsburgh", - "name": "Meyers, Benjamin", - "orcid": "0000-0001-9137-4363" + "name": "Lee, Nat", + "orcid": "0000-0001-9308-9988" }, { - "name": "Tambini, Arielle" + "name": "Inati, Souheil" }, { - "name": "Weinstein, Alejandro" + "affiliation": "Institute of Neuroinformatics, ETH/University of Zurich", + "name": "Gerhard, Stephan", + "orcid": "0000-0003-4454-6171" }, { - "affiliation": "Universidad de Guadalajara", - "name": "Gonz\u00e1lez Orozco, Abel A." + "name": "Saase, Victor" }, { - "name": "Harms, Robbert" + "affiliation": "Washington University in St Louis", + "name": "Van, Andrew", + "orcid": "0000-0002-8787-0943" }, { - "name": "Khanuja, Ranjeet" + "affiliation": "MPI-CBS; McGill University", + "name": "Steele, Christopher John", + "orcid": "0000-0003-1656-7928" }, { - "affiliation": "University of Illinois Urbana Champaign", - "name": "Sharp, Paul" + "affiliation": "Vrije Universiteit Amsterdam", + "name": "Ort, Eduard" }, { - "affiliation": "Dept of Medical Biophysics, Univeristy of Western Ontario", - "name": "Stanley, Olivia" + "affiliation": "Stanford University", + "name": "Lerma-Usabiaga, Garikoitz", + "orcid": "0000-0001-9800-4816" }, { - "name": "Lee, Nat", - "orcid": "0000-0001-9308-9988" + "name": "Schwabacher, Isaac" }, { - "name": "Crusoe, Michael R.", - "orcid": "0000-0002-2961-9670" + "name": "Arias, Jaime" }, { - "name": "Brett, Matthew" + "name": "Lai, Jeff" }, { - "name": "Falkiewicz, Marcel" + "affiliation": "Child Mind Institute / Nathan Kline Institute", + "name": "Pellman, John", + "orcid": "0000-0001-6810-4461" }, { - "affiliation": "Institute of Imaging & Computer Vision, RWTH Aachen University, Germany", - "name": "Weninger, Leon" + "affiliation": "University of Pennsylvania", + "name": "Junhao WEN", + "orcid": "0000-0003-2077-3070" }, { - "name": "Podranski, Kornelius" + "affiliation": "TIB \u2013 Leibniz Information Centre for Science and Technology and University Library, Hannover, Germany", + "name": "Leinweber, Katrin", + "orcid": "0000-0001-5135-5758" }, { - "affiliation": "German Institute for International Educational Research", - "name": "Linkersd\u00f6rfer, Janosch", - "orcid": "0000-0002-1577-1233" + "affiliation": "INRIA-Saclay, Team Parietal", + "name": "Chawla, Kshitij", + "orcid": "0000-0002-7517-6321" }, { - "name": "Flandin, Guillaume" + "affiliation": "Institute of Imaging & Computer Vision, RWTH Aachen University, Germany", + "name": "Weninger, Leon" }, { - "affiliation": "Stanford University", - "name": "Lerma-Usabiaga, Garikoitz", - "orcid": "0000-0001-9800-4816" + "name": "Modat, Marc" }, { - "name": "Tarbert, Claire" + "name": "Harms, Robbert" }, { - "name": "Cheung, Brian" + "affiliation": "University of Helsinki", + "name": "Andberg, Sami Kristian", + "orcid": "0000-0002-5650-3964" }, { - "affiliation": "Washington University in St Louis", - "name": "Van, Andrew", - "orcid": "0000-0002-8787-0943" + "name": "Matsubara, K" }, { - "name": "Davison, Andrew" + "affiliation": "Universidad de Guadalajara", + "name": "Gonz\u00e1lez Orozco, Abel A." }, { - "name": "Shachnev, Dmitry" + "name": "Marina, Ana" }, { - "affiliation": "Technical University Munich", - "name": "Molina-Romero, Miguel", - "orcid": "0000-0001-8054-0426" + "name": "Davison, Andrew" }, { - "name": "Rothmei, Simon" + "affiliation": "The University of Texas at Austin", + "name": "Floren, Andrew", + "orcid": "0000-0003-3618-2056" }, { - "affiliation": "National Institute on Aging, Baltimore, MD, USA", - "name": "Bilgel, Murat", - "orcid": "0000-0001-5042-7422" + "name": "Park, Anne" }, { - "name": "Schlamp, Kai" + "name": "Cheung, Brian" }, { - "affiliation": "Vrije Universiteit Amsterdam", - "name": "Ort, Eduard" + "name": "McDermottroe, Conor" }, { "affiliation": "University of Cambridge", @@ -691,21 +697,15 @@ "orcid": "0000-0001-9928-4960" }, { - "name": "Arias, Jaime" - }, - { - "name": "Bielievtsov, Dmytro", - "orcid": "0000-0003-3846-7696" + "name": "Shachnev, Dmitry" }, { - "affiliation": "MPI-CBS; McGill University", - "name": "Steele, Christopher John", - "orcid": "0000-0003-1656-7928" + "affiliation": "CNRS, UMS3552 IRMaGe", + "name": "Condamine, Eric", + "orcid": "0000-0002-9533-3769" }, { - "affiliation": "State Key Laboratory of Cognitive Neuroscience and Learning & IDG/McGovern Institute for Brain Research, Beijing Normal University, Beijing, China", - "name": "Huang, Lijie", - "orcid": "0000-0002-9910-5069" + "name": "Flandin, Guillaume" }, { "affiliation": "Athinoula A. Martinos Center for Biomedical Imaging, Department of Radiology, Massachusetts General Hospital, Charlestown, MA, USA", @@ -713,59 +713,58 @@ "orcid": "0000-0002-6451-6909" }, { - "affiliation": "Mayo Clinic", - "name": "Warner, Joshua", - "orcid": "0000-0003-3579-4835" + "name": "Varada, Jan" }, { - "affiliation": "Max Planck Research Group for Neuroanatomy & Connectivity, Max Planck Institute for Human Cognitive and Brain Sciences, Leipzig, Germany", - "name": "Margulies, Daniel S.", - "orcid": "0000-0002-8880-9204" + "name": "Schlamp, Kai" }, { - "affiliation": "Otto-von-Guericke-University Magdeburg, Germany", - "name": "Contier, Oliver", - "orcid": "0000-0002-2983-4709" + "name": "Podranski, Kornelius" }, { - "name": "Marina, Ana" + "affiliation": "State Key Laboratory of Cognitive Neuroscience and Learning & IDG/McGovern Institute for Brain Research, Beijing Normal University, Beijing, China", + "name": "Huang, Lijie", + "orcid": "0000-0002-9910-5069" }, { - "name": "Saase, Victor" + "name": "Noel, Maxime" }, { - "name": "Nickson, Thomas" + "name": "Crusoe, Michael R.", + "orcid": "0000-0002-2961-9670" }, { - "name": "Varada, Jan" + "affiliation": "Medical Imaging & Biomarkers, Bioclinica, Newark, CA, USA.", + "name": "Pannetier, Nicolas", + "orcid": "0000-0002-0744-5155" }, { - "name": "Schwabacher, Isaac" + "name": "Khanuja, Ranjeet" }, { - "affiliation": "Child Mind Institute / Nathan Kline Institute", - "name": "Pellman, John", - "orcid": "0000-0001-6810-4461" + "name": "Urchs, Sebastian" }, { - "name": "Khanuja, Ranjeet" + "name": "Nickson, Thomas" }, { - "affiliation": "Medical Imaging & Biomarkers, Bioclinica, Newark, CA, USA.", - "name": "Pannetier, Nicolas", - "orcid": "0000-0002-0744-5155" + "affiliation": "State Key Laboratory of Cognitive Neuroscience and Learning & IDG/McGovern Institute for Brain Research, Beijing Normal University, Beijing, China", + "name": "Huang, Lijie", + "orcid": "0000-0002-9910-5069" }, { - "name": "McDermottroe, Conor" + "affiliation": "Duke University", + "name": "Broderick, William", + "orcid": "0000-0002-8999-9003" + }, + { + "name": "Tambini, Arielle" }, { "affiliation": "Max Planck Institute for Human Cognitive and Brain Sciences, Leipzig, Germany.", "name": "Mihai, Paul Glad", "orcid": "0000-0001-5715-6442" }, - { - "name": "Lai, Jeff" - }, { "affiliation": "Department of Psychology, Stanford University", "name": "Gorgolewski, Krzysztof J.", diff --git a/doc/about.rst b/doc/about.rst index 45a6e30229..8375c4e9e0 100644 --- a/doc/about.rst +++ b/doc/about.rst @@ -10,192 +10,21 @@ About Citation -------- -.. admonition:: Reference - - Gorgolewski, Krzysztof J.; Esteban, Oscar; Ellis, David Gage; Notter, - Michael Philipp; Ziegler, Erik; Johnson, Hans; Hamalainen, Carlo; - Yvernault, Benjamin; Burns, Christopher; Manhães-Savio, Alexandre; - Jarecka, Dorota; Markiewicz, Christopher J.; Salo, Taylor; Clark, Daniel; - Waskom, Michael; Wong, Jason; Modat, Marc; Dewey, Blake E; Clark, Michael G.; - Dayan, Michael; Loney, Fred; Madison, Cindee; Gramfort, Alexandre; - Keshavan, Anisha; Berleant, Shoshana; Pinsard, Basile; Goncalves, Mathias; - Clark, Dav; Cipollini, Ben; Varoquaux, Gael; Wassermann , Demian; - Rokem, Ariel; Halchenko, Yaroslav O.; Forbes, Jessica; Moloney, Brendan; - Malone, Ian B.; Hanke, Michael; Mordom, David; Buchanan, Colin; - PAULI, WOLFGANG M.; Huntenburg, Julia M.; Horea, Christian; Schwartz, - Yannick; Tungaraza, Rosalia; Iqbal, Shariq; Kleesiek, Jens; Sikka, Sharad; - Frohlich, Caroline; Kent, James; Perez-Guevara, Martin; Watanabe, Aimi; Welch, - David; Cumba, Chad; Ginsburg, Daniel; Eshaghi, Arman; Kastman, Erik; - Bougacha, Salma; Blair, Ross; Acland, Benjamin; Gillman, Ashley; Schaefer, - Alexander; Nichols, B. Nolan; Giavasis, Steven; Erickson, Drew; Correa, - Carlos; Ghayoor, Ali; Küttner, René; Haselgrove, Christian; Zhou, Dale; - Craddock, R. Cameron; Haehn, Daniel; Lampe, Leonie; Millman, Jarrod; Lai, Jeff; - Renfro, Mandy; Liu, Siqi; Stadler, Jörg; Glatard, Tristan; Kahn, Ari E.; - Kong, Xiang-Zhen; Triplett, William; Park, Anne; McDermottroe, Conor; - Hallquist, Michael; Poldrack, Russell; Perkins, L. Nathan; Noel, Maxime; - Gerhard, Stephan; Salvatore, John; Mertz, Fred; Broderick, William; - Inati, Souheil; Hinds, Oliver; Brett, Matthew; Durnez, Joke; Tambini, - Arielle; Rothmei, Simon; Andberg, Sami Kristian; Cooper, Gavin; Marina, - Ana; Mattfeld, Aaron; Urchs, Sebastian; Sharp, Paul; Matsubara, K; Geisler, - Daniel; Cheung, Brian; Floren, Andrew; Nickson, Thomas; Pannetier, Nicolas; - Weinstein, Alejandro; Dubois, Mathieu; Arias, Jaime; Tarbert, Claire; Schlamp, - Kai; Jordan, Kesshi; Liem, Franz; Saase, Victor; Harms, Robbert; Khanuja, - Ranjeet; Podranski, Kornelius; Flandin, Guillaume; Papadopoulos Orfanos, - Dimitri; Schwabacher, Isaac; McNamee, Daniel; Falkiewicz, Marcel; - Pellman, John; Linkersdörfer, Janosch; Varada, Jan; Pérez-García, Fernando; - Davison, Andrew; Shachnev, Dmitry; Ghosh, Satrajit (2017). Nipype: - a flexible, lightweight and extensible neuroimaging data processing framework in Python. - 0.13.0 Zenodo. `10.5281/zenodo.581704 `_ - -:: - - @misc{gorgolewski_krzysztof_j_2017_581704, - author = {Gorgolewski, Krzysztof J. and - Esteban, Oscar and - Ellis, David Gage and - Notter, Michael Philipp and - Ziegler, Erik and - Johnson, Hans and - Hamalainen, Carlo and - Yvernault, Benjamin and - Burns, Christopher and - Manhães-Savio, Alexandre and - Jarecka, Dorota and - Markiewicz, Christopher J. and - Salo, Taylor and - Clark, Daniel and - Waskom, Michael and - Wong, Jason and - Modat, Marc and - Dewey, Blake E and - Clark, Michael G. and - Dayan, Michael and - Loney, Fred and - Madison, Cindee and - Gramfort, Alexandre and - Keshavan, Anisha and - Berleant, Shoshana and - Pinsard, Basile and - Goncalves, Mathias and - Clark, Dav and - Cipollini, Ben and - Varoquaux, Gael and - Wassermann , Demian and - Rokem, Ariel and - Halchenko, Yaroslav O. and - Forbes, Jessica and - Moloney, Brendan and - Malone, Ian B. and - Hanke, Michael and - Mordom, David and - Buchanan, Colin and - PAULI, WOLFGANG M. and - Huntenburg, Julia M. and - Horea, Christian and - Schwartz, Yannick and - Tungaraza, Rosalia and - Iqbal, Shariq and - Kleesiek, Jens and - Sikka, Sharad and - Frohlich, Caroline and - Kent, James and - Perez-Guevara, Martin and - Watanabe, Aimi and - Welch, David and - Cumba, Chad and - Ginsburg, Daniel and - Eshaghi, Arman and - Kastman, Erik and - Bougacha, Salma and - Blair, Ross and - Acland, Benjamin and - Gillman, Ashley and - Schaefer, Alexander and - Nichols, B. Nolan and - Giavasis, Steven and - Erickson, Drew and - Correa, Carlos and - Ghayoor, Ali and - Küttner, René and - Haselgrove, Christian and - Zhou, Dale and - Craddock, R. Cameron and - Haehn, Daniel and - Lampe, Leonie and - Millman, Jarrod and - Lai, Jeff and - Renfro, Mandy and - Liu, Siqi and - Stadler, Jörg and - Glatard, Tristan and - Kahn, Ari E. and - Kong, Xiang-Zhen and - Triplett, William and - Park, Anne and - McDermottroe, Conor and - Hallquist, Michael and - Poldrack, Russell and - Perkins, L. Nathan and - Noel, Maxime and - Gerhard, Stephan and - Salvatore, John and - Mertz, Fred and - Broderick, William and - Inati, Souheil and - Hinds, Oliver and - Brett, Matthew and - Durnez, Joke and - Tambini, Arielle and - Rothmei, Simon and - Andberg, Sami Kristian and - Cooper, Gavin and - Marina, Ana and - Mattfeld, Aaron and - Urchs, Sebastian and - Sharp, Paul and - Matsubara, K and - Geisler, Daniel and - Cheung, Brian and - Floren, Andrew and - Nickson, Thomas and - Pannetier, Nicolas and - Weinstein, Alejandro and - Dubois, Mathieu and - Arias, Jaime and - Tarbert, Claire and - Schlamp, Kai and - Jordan, Kesshi and - Liem, Franz and - Saase, Victor and - Harms, Robbert and - Khanuja, Ranjeet and - Podranski, Kornelius and - Flandin, Guillaume and - Papadopoulos Orfanos, Dimitri and - Schwabacher, Isaac and - McNamee, Daniel and - Falkiewicz, Marcel and - Pellman, John and - Linkersdörfer, Janosch and - Varada, Jan and - Pérez-García, Fernando and - Davison, Andrew and - Shachnev, Dmitry and - Ghosh, Satrajit}, - title = {nipy/nipype: Release 0.13.1}, - month = may, - year = 2017, - doi = {10.5281/zenodo.581704}, - url = {https://doi.org/10.5281/zenodo.581704} - } - -If you are a Nipype contributor and your name is not mentioned above please submit -a Pull Request modifying `.zenodo.json` file. - -When publishing results obtained using Nipype we strongly encourage citing the above reference to give credit to all -Nipype contributors. However, if for some reason the journal you are publishing with does not allow you do cite software +Each Nipype release is archived on `Zenodo `__, which provides a +:abbr:`DOI (Digital Object Identifier)` for the project and each release, separately. +The project DOI (`10.5281/zenodo.596855 `__) will redirect +to the latest release archive, which contains all information needed to cite the release. + +If you are a Nipype contributor and your name is not mentioned in the latest release, please submit +a Pull Request modifying the `.zenodo.json +`__ file. + +When publishing results obtained using Nipype we strongly encourage citing the latest Zenodo +archive to give credit to all Nipype contributors. +However, if for some reason the journal you are publishing with does not allow you do cite software this way you can use the initial paper published in 2011 (see below). + .. admonition:: Reference Gorgolewski K, Burns CD, Madison C, Clark D, Halchenko YO, Waskom ML, diff --git a/tools/update_zenodo.py b/tools/update_zenodo.py index 18cc588061..cece8d53fd 100755 --- a/tools/update_zenodo.py +++ b/tools/update_zenodo.py @@ -1,77 +1,68 @@ #!/usr/bin/env python3 """Update and sort the creators list of the zenodo record.""" -import sys -import shutil -from pathlib import Path +import git import json +from subprocess import run, PIPE +from pathlib import Path from fuzzywuzzy import fuzz, process -import subprocess as sp + + +def decommify(name): + return " ".join(name.split(", ")[::-1]) + # These names should go last -CREATORS_LAST = ["Gorgolewski, Krzysztof J.", "Ghosh, Satrajit"] +CREATORS_LAST = ["Krzysztof J. Gorgolewski", "Satrajit Ghosh"] if __name__ == "__main__": - contrib_file = Path("line-contributors.txt") - lines = [] - if contrib_file.exists(): - print("WARNING: Reusing existing line-contributors.txt file.", file=sys.stderr) - lines = contrib_file.read_text().splitlines() - - git_line_summary_path = shutil.which("git-line-summary") - if not lines and git_line_summary_path: - print("Running git-line-summary on nipype repo") - lines = sp.check_output([git_line_summary_path]).decode().splitlines() - contrib_file.write_text("\n".join(lines)) - - if not lines: - raise RuntimeError( - """\ -Could not find line-contributors from git repository.%s""" - % """ \ -git-line-summary not found, please install git-extras. """ - * (git_line_summary_path is None) + git_root = Path(git.Repo(".", search_parent_directories=True).working_dir) + zenodo_file = git_root / ".zenodo.json" + + zenodo = json.loads(zenodo_file.read_text()) if zenodo_file.exists() else {} + + creator_map = { + decommify(creator["name"]): creator for creator in zenodo.get("creators", []) + } + + shortlog = run(["git", "shortlog", "-ns"], stdout=PIPE) + commit_counts = dict( + line.split("\t", 1)[::-1] + for line in shortlog.stdout.decode().split("\n") + if line + ) + + existing_creators = set(creator_map.keys()) + + committers = [] + + # Stable sort: + # Number of commits in descending order + # Ties broken by alphabetical order of first name + for committer, _ in sorted(commit_counts.items(), key=lambda x: (-int(x[1]), x[0])): + matches = process.extract( + committer, creator_map.keys(), scorer=fuzz.token_sort_ratio, limit=2 ) + match, score = matches[0] + if score <= 80: + print("No entry to sort:", committer) + continue + existing_creators.discard(match) + committers.append(match) - data = [" ".join(line.strip().split()[1:-1]) for line in lines if "%" in line] + for unmatched in sorted(existing_creators): + print("No matching commits:", unmatched) + # Keep the entries to avoid removing people for bad matching + committers.append(unmatched) - # load zenodo from master - zenodo_file = Path(".zenodo.json") - zenodo = json.loads(zenodo_file.read_text()) - zen_names = [ - " ".join(val["name"].split(",")[::-1]).strip() for val in zenodo["creators"] + for last_author in CREATORS_LAST: + if committers[-1] != last_author: + committers.remove(last_author) + committers.append(last_author) + + creators = [ + creator_map.get(committer, {"name": committer}) for committer in committers ] - total_names = len(zen_names) - - name_matches = [] - position = 1 - for ele in data: - matches = process.extract(ele, zen_names, scorer=fuzz.token_sort_ratio, limit=2) - # matches is a list [('First match', % Match), ('Second match', % Match)] - if matches[0][1] <= 80: - # skip unmatched names - print("No entry to sort:", ele) - continue - idx = zen_names.index(matches[0][0]) - val = zenodo["creators"][idx] - - if val not in name_matches: - if val["name"] not in CREATORS_LAST: - val["position"] = position - position += 1 - else: - val["position"] = total_names + CREATORS_LAST.index(val["name"]) - name_matches.append(val) - - for missing in zenodo["creators"]: - if "position" not in missing: - missing["position"] = position - position += 1 - name_matches.append(missing) - - zenodo["creators"] = sorted(name_matches, key=lambda k: k["position"]) - # Remove position - for creator in zenodo["creators"]: - del creator["position"] - - zenodo_file.write_text("%s\n" % json.dumps(zenodo, indent=2, sort_keys=True)) + zenodo["creators"] = creators + + zenodo_file.write_text("%s\n" % json.dumps(zenodo, indent=2))