Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
adaptive-paper
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
Quantum Tinkerer
adaptive-paper
Commits
9afba751
Commit
9afba751
authored
5 years ago
by
Bas Nijholt
Browse files
Options
Downloads
Patches
Plain Diff
update refs
parent
1b738285
No related branches found
No related tags found
No related merge requests found
Pipeline
#22112
passed
5 years ago
Stage: test
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
create_bib_file.py
+10
-12
10 additions, 12 deletions
create_bib_file.py
not_on_crossref.bib
+13
-13
13 additions, 13 deletions
not_on_crossref.bib
paper.bib
+14
-26
14 additions, 26 deletions
paper.bib
paper.yaml
+0
-1
0 additions, 1 deletion
paper.yaml
with
37 additions
and
52 deletions
create_bib_file.py
+
10
−
12
View file @
9afba751
...
...
@@ -108,13 +108,11 @@ def doi2bib(doi):
return
r
.
text
bibs
=
[
f
for
f
in
glob
.
glob
(
"
*yaml
"
)
if
"
tmp.yaml
"
not
in
f
]
print
(
"
Reading:
"
,
bibs
)
fname
=
'
paper.yaml
'
print
(
"
Reading:
"
,
fname
)
mapping
=
{}
for
fname
in
bibs
:
with
open
(
fname
)
as
f
:
mapping
=
{
**
mapping
,
**
yaml
.
safe_load
(
f
)}
with
open
(
fname
)
as
f
:
mapping
=
yaml
.
safe_load
(
f
)
dois
=
dict
(
sorted
(
mapping
.
items
()))
...
...
@@ -125,14 +123,14 @@ with ThreadPoolExecutor() as ex:
entries
=
[
replace_key
(
key
,
bib
)
for
key
,
bib
in
zip
(
dois
.
keys
(),
bibs
)]
bib_files
=
glob
.
glob
(
"
not_on_crossref.bib
"
)
with
open
(
"
paper.bib
"
,
"
w
"
)
as
outfile
:
fname
=
"
not_on_crossref.bib
"
outfile
.
write
(
"
@preamble{ {
\\
providecommand{
\\
BIBYu}{Yu} } }
\n\n
"
)
for
fname
in
bib_files
:
outfile
.
write
(
f
"
\n
% Below is from `
{
fname
}
`.
\n\n
"
)
with
open
(
fname
)
as
infile
:
outfile
.
write
(
infile
.
read
())
outfile
.
write
(
"
\n
% Below is from all `yaml` files.
\n\n
"
)
outfile
.
write
(
f
"
\n
% Below is from `
{
fname
}
`.
\n\n
"
)
with
open
(
fname
)
as
infile
:
outfile
.
write
(
infile
.
read
())
outfile
.
write
(
"
\n
% Below is from `paper.yaml` files.
\n\n
"
)
for
e
in
entries
:
for
line
in
e
.
split
(
'
\n
'
):
# Remove the url line
...
...
This diff is collapsed.
Click to expand it.
not_on_crossref.bib
+
13
−
13
View file @
9afba751
...
...
@@ -5,6 +5,19 @@
school
=
{Rice University}
,
}
@Article
{
Dyn1990
,
doi
=
{10.1093/imanum/10.1.137}
,
url
=
{https://doi.org/10.1093%2Fimanum%2F10.1.137}
,
year
=
1990
,
publisher
=
{Oxford University Press ({OUP})}
,
volume
=
{10}
,
number
=
{1}
,
pages
=
{137--154}
,
author
=
{Nira Dyn and David Levin and Samuel Rippa}
,
title
=
{Data Dependent Triangulations for Piecewise Linear Interpolation}
,
journal
=
{{IMA} Journal of Numerical Analysis}
}
@InCollection
{
Figueiredo1995
,
author
=
{de Figueiredo, Luiz Henrique}
,
title
=
{Adaptive sampling of parametric curves}
,
...
...
@@ -70,16 +83,3 @@
title
=
{Mathematica, Version 12.0}
,
note
=
{Champaign, IL, 2019}
,
}
@Article
{
Dyn1990
,
doi
=
{10.1093/imanum/10.1.137}
,
url
=
{https://doi.org/10.1093%2Fimanum%2F10.1.137}
,
year
=
1990
,
publisher
=
{Oxford University Press ({OUP})}
,
volume
=
{10}
,
number
=
{1}
,
pages
=
{137--154}
,
author
=
{Nira Dyn and David Levin and Samuel Rippa}
,
title
=
{Data Dependent Triangulations for Piecewise Linear Interpolation}
,
journal
=
{{IMA} Journal of Numerical Analysis}
}
This diff is collapsed.
Click to expand it.
paper.bib
+
14
−
26
View file @
9afba751
...
...
@@ -10,6 +10,19 @@
school
=
{Rice University}
,
}
@Article
{
Dyn1990
,
doi
=
{10.1093/imanum/10.1.137}
,
url
=
{https://doi.org/10.1093%2Fimanum%2F10.1.137}
,
year
=
1990
,
publisher
=
{Oxford University Press ({OUP})}
,
volume
=
{10}
,
number
=
{1}
,
pages
=
{137--154}
,
author
=
{Nira Dyn and David Levin and Samuel Rippa}
,
title
=
{Data Dependent Triangulations for Piecewise Linear Interpolation}
,
journal
=
{{IMA} Journal of Numerical Analysis}
}
@InCollection
{
Figueiredo1995
,
author
=
{de Figueiredo, Luiz Henrique}
,
title
=
{Adaptive sampling of parametric curves}
,
...
...
@@ -76,20 +89,7 @@
note
=
{Champaign, IL, 2019}
,
}
@Article
{
Dyn1990
,
doi
=
{10.1093/imanum/10.1.137}
,
url
=
{https://doi.org/10.1093%2Fimanum%2F10.1.137}
,
year
=
1990
,
publisher
=
{Oxford University Press ({OUP})}
,
volume
=
{10}
,
number
=
{1}
,
pages
=
{137--154}
,
author
=
{Nira Dyn and David Levin and Samuel Rippa}
,
title
=
{Data Dependent Triangulations for Piecewise Linear Interpolation}
,
journal
=
{{IMA} Journal of Numerical Analysis}
}
% Below is from all `yaml` files.
% Below is from `paper.yaml` files.
@article
{
Alliez2003
,
doi
=
{10.1145/882262.882296}
,
...
...
@@ -177,18 +177,6 @@
booktitle
=
{Proceedings of the 25th annual conference on Computer graphics and interactive techniques - {SIGGRAPH} {\textquotesingle}98}
}
@article
{
Dyn1990
,
doi
=
{10.1093/imanum/10.1.137}
,
year
=
1990
,
publisher
=
{Oxford University Press ({OUP})}
,
volume
=
{10}
,
number
=
{1}
,
pages
=
{137--154}
,
author
=
{NIRA DYN and DAVID LEVIN and SAMUEL RIPPA}
,
title
=
{Data Dependent Triangulations for Piecewise Linear Interpolation}
,
journal
=
{{IMA} Journal of Numerical Analysis}
}
@article
{
Emery1998
,
doi
=
{10.1088/0957-0233/9/6/003}
,
year
=
1998
,
...
...
This diff is collapsed.
Click to expand it.
paper.yaml
+
0
−
1
View file @
9afba751
...
...
@@ -5,7 +5,6 @@ Bommer2019: 10.1103/physrevlett.122.187702
Chen2017
:
10.1088/1361-6501/aa7d31
Clenshaw1960
:
10.1007/bf01386223
DeRose1998
:
10.1145/280814.280826
Dyn1990
:
10.1093/imanum/10.1.137
Emery1998
:
10.1088/0957-0233/9/6/003
Gonnet2010
:
10.1145/1824801.1824804
Gramacy2004
:
10.1145/1015330.1015367
...
...
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