Cloudy & Associates
Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
cloudy
cloudy
Commits
b951f322
Commit
b951f322
authored
Apr 14, 2022
by
Chatzikos, Marios
Browse files
Let db-ref-bib2json.pl process ADAS refs
parent
4435dc7f
Changes
1
Hide whitespace changes
Inline
Side-by-side
scripts/db-ref-bib2json.pl
View file @
b951f322
...
...
@@ -142,6 +142,7 @@
# if needed;
# - always prune non-existent refs from data structure (for JSON file),
# not only in interactive mode;
# - process ADAS refs;
#
use
warnings
;
...
...
@@ -1228,6 +1229,15 @@ sub parse_stout_comments
}
$ref
{
name
}
=
$version
;
}
elsif
(
$ref
=~
m/\s*ADAS\s*/i
)
{
my
$version
=
"
ADAS
";
if
(
$ref
=~
m/.*ADAS\s*(\d\d\d\d-\d\d-\d\d)/
)
{
$version
.=
"
$1
";
}
$ref
{
name
}
=
$version
;
}
elsif
(
defined
(
$interactive
)
)
{
# Citations employ at least 3 commas
...
...
@@ -1366,6 +1376,7 @@ sub get_bibcodes_update_biblio
push
(
@bibcodes
,
$$this_ref
{
bibcode
}
);
}
elsif
(
$$this_ref
{
name
}
!~
m/NIST/i
and
$$this_ref
{
name
}
!~
m/ADAS/i
and
$$this_ref
{
name
}
!~
m/Chianti/i
and
$$this_ref
{
name
}
!~
m/(unpublished|private comm)/
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment