Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
analytics
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
nomad-lab
analytics
Commits
88958471
"tests/git@gitlab.mpcdf.mpg.de:nomad-lab/nomad-FAIR.git" did not exist on "27a37a8d82b34335fc4e89bf7f45e031cc7c62f6"
Commit
88958471
authored
3 years ago
by
Luigi Sbailo
Browse files
Options
Downloads
Patches
Plain Diff
Fix script to generate headers
parent
b3a26150
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!123
testing develop merge
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
generate_headers.py
+2
-2
2 additions, 2 deletions
generate_headers.py
with
2 additions
and
2 deletions
generate_headers.py
+
2
−
2
View file @
88958471
...
@@ -20,8 +20,8 @@ if __name__ == '__main__':
...
@@ -20,8 +20,8 @@ if __name__ == '__main__':
update
=
'
Last update:
'
+
update
update
=
'
Last update:
'
+
update
authors_list
=
''
authors_list
=
''
for
author
in
authors
:
for
author
in
authors
:
first_name
=
author
.
replace
(
'
,
'
,
''
).
split
()[
1
]
first_name
=
author
.
replace
(
'
,
'
,
'
'
).
split
(
"
"
)[
1
]
last_name
=
author
.
replace
(
'
,
'
,
''
).
split
()[
0
]
last_name
=
author
.
replace
(
'
,
'
,
'
'
).
split
(
"
"
)[
0
]
authors_list
=
authors_list
+
first_name
+
'
'
+
last_name
authors_list
=
authors_list
+
first_name
+
'
'
+
last_name
if
authors
.
index
(
author
)
<
len
(
authors
)
-
2
:
if
authors
.
index
(
author
)
<
len
(
authors
)
-
2
:
authors_list
=
authors_list
+
'
,
'
authors_list
=
authors_list
+
'
,
'
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment