Skip to content
Snippets Groups Projects
Commit f2623047 authored by Liliana Sanfilippo's avatar Liliana Sanfilippo
Browse files

cit falsch

parent df985c5e
No related branches found
No related tags found
No related merge requests found
......@@ -103,50 +103,56 @@ def makeauthors(authors, out):
# Maximale Anzahl der anzuzeigenden Autoren
max_authors = 6
out.write("\t<span property=\"schema:author\" typeof=\"schema:Person\">\n") # Tag für Autoren öffnen
for i, a in enumerate(autlist):
try:
first = None
last = None
name = None
a = a.strip() # Whitespace entfernen
if ',' in a:
s = a.split(", ")
if len(s) > 1:
first_names = s[1].split() # Teilt den Vornamen in einzelne Namen auf
first_names = s[1].strip() # Vornamen
# Nur die Initialen verwenden
initials = '. '.join([n[0] for n in first_names]) + '.' if first_names else ''
last = s[0]
initials = '. '.join([n[0] for n in first_names.split()]) + '.' if first_names else ''
last = s[0].strip() # Nachname
name = last + ", " + initials
else:
last = s[0].strip() # Entferne Whitespace
last = s[0].strip() # Nachname
name = last + ", "
else:
s = a.split()
if len(s) == 2:
first = s[0].strip() # Entferne Whitespace
first_sh = first[0]
last = s[1].strip() # Entferne Whitespace
first = s[0].strip() # Vornamen
first_sh = first[0] # Initiale des ersten Vornamens
last = s[1].strip() # Nachname
name = last + ", " + first_sh + "."
else:
# Falls es mehrere Vornamen gibt, sie in Initialen umwandeln
leng = len(s)
last = s[leng-1].strip() # Entferne Whitespace
last = s[leng - 1].strip() # Nachname
first = '. '.join([n[0] for n in s[:-1]]) + '.' # Nur Initialen der Vornamen
name = last + ", " + first
# Schreibe den Namen in die Ausgabedatei
if i < max_authors:
out.write("\t" + "\t" + "<span property=\"schema:Name\"> " + name + "</span>" + "\n")
out.write("\t\t<span property=\"schema:Name\"> " + name + "</span>\n")
# Wenn wir mehr als 6 Autoren haben, schreibe "et al." nach dem 6. Autor
if i == max_authors:
out.write("\t" + "\t" + "<span property=\"schema:Name\"> et al.</span>" + "\n")
out.write("\t\t<span property=\"schema:Name\"> et al.</span>\n")
break # Stoppe die Schleife, nachdem "et al." hinzugefügt wurde
except Exception as e:
print(f"An unexpected error occurred: {e} see " + a)
out.write("\t</span>\n") # Tag für Autoren schließen
# Beispiel der Verwendung
author = "Cloarec-Ung, Fanny-Mei and Beaulieu, Jamie and Suthananthan, Arunan and Lehnertz, Bernhard and Sauvageau, Guy and Sheppard, Hilary M. and Knapp, David J. H. F."
with open('output.txt', 'w') as out_file:
makeauthors(author, out_file)
......
{/*<!-- Citation num 1--> */}
<li typeof="schema:ScolarlyArticle" role="doc-biblioentry" property="schema:citation" id="desc-1">
<span property="schema:author" typeof="schema:Person">
<span property="schema:author" typeof="schema:Person">
<span property="schema:Name"> Cloarec-Ung, F.</span>
<span property="schema:Name"> Beaulieu, J.</span>
......@@ -8,6 +9,7 @@
<span property="schema:Name"> Sheppard, H. M.</span>
<span property="schema:Name"> Knapp,
David J. H. F., </span>
</span>
</span>
<span property="schema:name">&nbsp;
Near-perfect precise on-target editing of human hematopoietic stem and
......@@ -21,6 +23,7 @@ progenitor cells
{/*<!-- Citation num 2--> */}
<li typeof="schema:ScolarlyArticle" role="doc-biblioentry" property="schema:citation" id="desc-2">
<span property="schema:author" typeof="schema:Person">
<span property="schema:author" typeof="schema:Person">
<span property="schema:Name"> Nelson, J. W.</span>
<span property="schema:Name"> Randolph, P. B.</span>
......@@ -31,6 +34,7 @@ Kelcee A., </span>
<span property="schema:Name"> Anzalone, A. V.</span>
<span property="schema:Name"> et al.</span>
</span>
</span>
<span property="schema:name">&nbsp;Engineered pegRNAs improve prime editing efficiency</span>.
<i property="schema:publisher" typeof="schema:Organization"> Nature Biotechnology</i>
<b property="issueNumber" typeof="PublicationIssue"> 40</b>,&nbsp;
......@@ -41,6 +45,7 @@ Kelcee A., </span>
{/*<!-- Citation num 3--> */}
<li typeof="schema:ScolarlyArticle" role="doc-biblioentry" property="schema:citation" id="desc-3">
<span property="schema:author" typeof="schema:Person">
<span property="schema:author" typeof="schema:Person">
<span property="schema:Name"> Doench, J. G.</span>
<span property="schema:Name"> Fusi, N.</span>
......@@ -50,6 +55,7 @@ Kelcee A., </span>
<span property="schema:Name"> Smith, I.</span>
<span property="schema:Name"> et al.</span>
</span>
</span>
<span property="schema:name">&nbsp;
Optimized sgRNA design to maximize activity and minimize off-target effects
of CRISPR-Cas9
......@@ -63,12 +69,14 @@ of CRISPR-Cas9
{/*<!-- Citation num 4--> */}
<li typeof="schema:ScolarlyArticle" role="doc-biblioentry" property="schema:citation" id="desc-4">
<span property="schema:author" typeof="schema:Person">
<span property="schema:author" typeof="schema:Person">
<span property="schema:Name"> White, N.</span>
<span property="schema:Name"> Sadeeshkumar, H.</span>
<span property="schema:Name"> Sun, A.</span>
<span property="schema:Name"> Sudarsan, N. a. B.</span>
</span>
</span>
<span property="schema:name">&nbsp;
Na+ riboswitches regulate genes for diverse physiological processes in
bacteria
......@@ -82,10 +90,12 @@ bacteria
{/*<!-- Citation num 5--> */}
<li typeof="schema:ScolarlyArticle" role="doc-biblioentry" property="schema:citation" id="desc-5">
<span property="schema:author" typeof="schema:Person">
<span property="schema:author" typeof="schema:Person">
<span property="schema:Name"> Iwawaki, T.</span>
<span property="schema:Name"> Akai, R.</span>
</span>
</span>
<span property="schema:name">&nbsp;
Analysis of the XBP1 splicing mechanism using endoplasmic reticulum
stress-indicators
......@@ -99,6 +109,7 @@ stress-indicators
{/*<!-- Citation num 6--> */}
<li typeof="schema:ScolarlyArticle" role="doc-biblioentry" property="schema:citation" id="desc-6">
<span property="schema:author" typeof="schema:Person">
<span property="schema:author" typeof="schema:Person">
<span property="schema:Name"> Zhang, Y.</span>
<span property="schema:Name"> Lin, S.</span>
......@@ -108,6 +119,7 @@ stress-indicators
<span property="schema:Name"> Wang, Z.</span>
<span property="schema:Name"> et al.</span>
</span>
</span>
<span property="schema:name">&nbsp;
XBP1 splicing contributes to endoplasmic reticulum stress-induced human islet
amyloid polypeptide up-regulation
......@@ -121,6 +133,7 @@ amyloid polypeptide up-regulation
{/*<!-- Citation num 7--> */}
<li typeof="schema:ScolarlyArticle" role="doc-biblioentry" property="schema:citation" id="desc-7">
<span property="schema:author" typeof="schema:Person">
<span property="schema:author" typeof="schema:Person">
<span property="schema:Name"> Wei, T.</span>
<span property="schema:Name"> Sun, Y.</span>
......@@ -131,6 +144,7 @@ Zachary, </span>
<span property="schema:Name"> Johnson, L. T.</span>
<span property="schema:Name"> et al.</span>
</span>
</span>
<span property="schema:name">&nbsp;
Lung SORT LNPs enable precise homology-directed repair mediated
CRISPR/Cas genome correction in cystic fibrosis models
......@@ -144,6 +158,7 @@ CRISPR/Cas genome correction in cystic fibrosis models
{/*<!-- Citation num 8--> */}
<li typeof="schema:ScolarlyArticle" role="doc-biblioentry" property="schema:citation" id="desc-8">
<span property="schema:author" typeof="schema:Person">
<span property="schema:author" typeof="schema:Person">
<span property="schema:Name"> Ibrahim, M.</span>
<span property="schema:Name"> Ramadan, E.</span>
......@@ -153,6 +168,7 @@ CRISPR/Cas genome correction in cystic fibrosis models
<span property="schema:Name"> Ishima, Y.</span>
<span property="schema:Name"> et al.</span>
</span>
</span>
<span property="schema:name">&nbsp;
Polyethylene glycol (PEG): The nature, immunogenicity, and role in the
hypersensitivity of PEGylated products
......@@ -166,6 +182,7 @@ hypersensitivity of PEGylated products
{/*<!-- Citation num 9--> */}
<li typeof="schema:ScolarlyArticle" role="doc-biblioentry" property="schema:citation" id="desc-9">
<span property="schema:author" typeof="schema:Person">
<span property="schema:author" typeof="schema:Person">
<span property="schema:Name"> Jiang, A. Y.</span>
<span property="schema:Name"> Witten, J.</span>
......@@ -175,6 +192,7 @@ hypersensitivity of PEGylated products
<span property="schema:Name"> Oladimeji, F. A.</span>
<span property="schema:Name"> et al.</span>
</span>
</span>
<span property="schema:name">&nbsp;
Combinatorial development of nebulized mRNA delivery formulations for the
lungs
......@@ -188,6 +206,7 @@ lungs
{/*<!-- Citation num 10--> */}
<li typeof="schema:ScolarlyArticle" role="doc-biblioentry" property="schema:citation" id="desc-10">
<span property="schema:author" typeof="schema:Person">
<span property="schema:author" typeof="schema:Person">
<span property="schema:Name"> Vilà-González, M.</span>
<span property="schema:Name"> Pinte, L.</span>
......@@ -198,6 +217,7 @@ Erika, </span>
<span property="schema:Name"> Rodrat, M.</span>
<span property="schema:Name"> et al.</span>
</span>
</span>
<span property="schema:name">&nbsp;
In vitro platform to model the function of ionocytes in the human airway
epithelium
......@@ -212,8 +232,10 @@ epithelium
{/*<!-- Citation num 11--> */}
<li typeof="schema:Book" role="doc-biblioentry" property="schema:citation" id="desc-11">
<span property="schema:author" typeof="schema:Organisation">
<span property="schema:author" typeof="schema:Person">
<span property="schema:Name"> Paris, K.</span>
</span>
</span>
<span property="schema:name">&nbsp;Genome Editing and Biological Weapons: Assessing the Risk of Misuse.</span>
<i property="schema:publisher" typeof="schema:Organization">&nbsp;Springer Nature Switzerland AG</i>
&nbsp;(<time property="schema:datePublished" datatype="xsd:gYear" dateTime="2023">2023</time>).
......@@ -221,9 +243,11 @@ epithelium
{/*<!-- Citation num 12--> */}
<li typeof="schema:ScolarlyArticle" role="doc-biblioentry" property="schema:citation" id="desc-12">
<span property="schema:author" typeof="schema:Person">
<span property="schema:author" typeof="schema:Person">
<span property="schema:Name"> Wickiser, J. K.</span>
</span>
</span>
<span property="schema:name">&nbsp;
The democratization of biology: how CRISPR and synthetic biology usher in new
biosecurity threats
......@@ -236,10 +260,12 @@ biosecurity threats
{/*<!-- Citation num 13--> */}
<li typeof="schema:ScolarlyArticle" role="doc-biblioentry" property="schema:citation" id="desc-13">
<span property="schema:author" typeof="schema:Person">
<span property="schema:author" typeof="schema:Person">
<span property="schema:Name"> Cohen, J.</span>
<span property="schema:Name"> Desai, T.</span>
</span>
</span>
<span property="schema:name">&nbsp;
Security implications of CRISPR-enabled genome editing: New weapons of mass
disruption?
......@@ -253,10 +279,12 @@ disruption?
{/*<!-- Citation num 14--> */}
<li typeof="schema:ScolarlyArticle" role="doc-biblioentry" property="schema:citation" id="desc-14">
<span property="schema:author" typeof="schema:Person">
<span property="schema:author" typeof="schema:Person">
<span property="schema:Name"> Doudna, J. A.</span>
<span property="schema:Name"> Charpentier, E.</span>
</span>
</span>
<span property="schema:name">&nbsp;
The rise of synthetic biology: New biosecurity risks and regulatory
challenges
......@@ -270,10 +298,12 @@ challenges
{/*<!-- Citation num 15--> */}
<li typeof="schema:ScolarlyArticle" role="doc-biblioentry" property="schema:citation" id="desc-15">
<span property="schema:author" typeof="schema:Person">
<span property="schema:author" typeof="schema:Person">
<span property="schema:Name"> Shwartz, M.</span>
<span property="schema:Name"> Conklin, B.</span>
</span>
</span>
<span property="schema:name">&nbsp;
Public perception of CRISPR and genome editing: Misconceptions and media
portrayal
......@@ -287,8 +317,10 @@ portrayal
{/*<!-- Citation num 16--> */}
<li typeof="schema:Book" role="doc-biblioentry" property="schema:citation" id="desc-16">
<span property="schema:author" typeof="schema:Organisation">
<span property="schema:author" typeof="schema:Person">
<span property="schema:Name"> Chadwick, R. F.</span>
</span>
</span>
<span property="schema:name">&nbsp;Encyclopedia of applied ethics.</span>
<i property="schema:publisher" typeof="schema:Organization">&nbsp;Academic Press</i>
&nbsp;(<time property="schema:datePublished" datatype="xsd:gYear" dateTime="2012">2012</time>).
......@@ -296,10 +328,12 @@ portrayal
{/*<!-- Citation num 17--> */}
<li typeof="schema:ScolarlyArticle" role="doc-biblioentry" property="schema:citation" id="desc-17">
<span property="schema:author" typeof="schema:Person">
<span property="schema:author" typeof="schema:Person">
<span property="schema:Name"> Rubeis, G.</span>
<span property="schema:Name"> Steger, F.</span>
</span>
</span>
<span property="schema:name">&nbsp;Risks and benefits of human germline genome editing: An ethical analysis</span>.
<i property="schema:publisher" typeof="schema:Organization"> Asian Bioethics Review</i>
<b property="issueNumber" typeof="PublicationIssue"> 10</b>,&nbsp;
......@@ -310,9 +344,11 @@ portrayal
{/*<!-- Citation num 18--> */}
<li typeof="schema:ScolarlyArticle" role="doc-biblioentry" property="schema:citation" id="desc-18">
<span property="schema:author" typeof="schema:Person">
<span property="schema:author" typeof="schema:Person">
<span property="schema:Name"> Ansah, E. O.</span>
</span>
</span>
<span property="schema:name">&nbsp;
Ethical Challenges and Controversies in the Practice and Advancement of Gene
Therapy
......@@ -327,8 +363,10 @@ Therapy
{/*<!-- Citation num 19--> */}
<li typeof="schema:Book" role="doc-biblioentry" property="schema:citation" id="desc-19">
<span property="schema:author" typeof="schema:Organisation">
<span property="schema:author" typeof="schema:Person">
<span property="schema:Name"> Pugh, J.</span>
</span>
</span>
<span property="schema:name">&nbsp;Autonomy, Rationality, and Contemporary Bioethics.</span>
<i property="schema:publisher" typeof="schema:Organization">&nbsp;Oxford University PressOxford</i>
&nbsp;(<time property="schema:datePublished" datatype="xsd:gYear" dateTime="2020">2020</time>).
......@@ -337,9 +375,11 @@ Therapy
{/*<!-- Citation num 20--> */}
<li typeof="schema:Book" role="doc-biblioentry" property="schema:citation" id="desc-20">
<span property="schema:author" typeof="schema:Organisation">
<span property="schema:author" typeof="schema:Person">
<span property="schema:Name"> Gstraunthaler, G.</span>
<span property="schema:Name"> Lindl, T.</span>
</span>
</span>
<span property="schema:name">&nbsp;Allgemeine Aspekte der Primärkultur.</span>
<i property="schema:publisher" typeof="schema:Organization">&nbsp;Springer</i>
&nbsp;(<time property="schema:datePublished" datatype="xsd:gYear" dateTime="2013">2013</time>).
......@@ -348,8 +388,10 @@ Therapy
{/*<!-- Citation num 21--> */}
<li typeof="schema:Book" role="doc-biblioentry" property="schema:citation" id="desc-21">
<span property="schema:author" typeof="schema:Organisation">
<span property="schema:author" typeof="schema:Person">
<span property="schema:Name"> Thiele, F.</span>
</span>
</span>
<span property="schema:name">&nbsp;International Encyclopedia of the Social & Behavioral Sciences.</span>
<i property="schema:publisher" typeof="schema:Organization">&nbsp;Elsevier</i>
&nbsp;(<time property="schema:datePublished" datatype="xsd:gYear" dateTime="2001">2001</time>).
......@@ -358,8 +400,10 @@ Therapy
{/*<!-- Citation num 22--> */}
<li typeof="schema:Book" role="doc-biblioentry" property="schema:citation" id="desc-22">
<span property="schema:author" typeof="schema:Organisation">
<span property="schema:author" typeof="schema:Person">
<span property="schema:Name"> Gethmann, C.</span>
</span>
</span>
<span property="schema:name">&nbsp;Research: Ethical Aspects of Long-term Responsibilities.</span>
<i property="schema:publisher" typeof="schema:Organization">&nbsp;Elsevier</i>
&nbsp;(<time property="schema:datePublished" datatype="xsd:gYear" dateTime="2001">2001</time>).
......@@ -367,6 +411,7 @@ Therapy
{/*<!-- Citation num 23--> */}
<li typeof="schema:ScolarlyArticle" role="doc-biblioentry" property="schema:citation" id="desc-23">
<span property="schema:author" typeof="schema:Person">
<span property="schema:author" typeof="schema:Person">
<span property="schema:Name"> Kiani, A. K.</span>
<span property="schema:Name"> Pheby, D.</span>
......@@ -376,6 +421,7 @@ Therapy
<span property="schema:Name"> Marks, R.</span>
<span property="schema:Name"> et al.</span>
</span>
</span>
<span property="schema:name">&nbsp;Ethical considerations regarding animal experimentation</span>.
<i property="schema:publisher" typeof="schema:Organization"> Journal of Preventive Medicine and Hygiene</i>
<b property="issueNumber" typeof="PublicationIssue"> 63</b>,&nbsp;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment