Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
limbra
limbra
Commits
317eeb87
Commit
317eeb87
authored
Sep 24, 2015
by
LE GAC Renaud
Browse files
Propagate the imporved authors logic in all automatons.
parent
a5d4a768
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
24 additions
and
26 deletions
+24
-26
modules/harvest_tools/notes.py
modules/harvest_tools/notes.py
+4
-5
modules/harvest_tools/preprints.py
modules/harvest_tools/preprints.py
+4
-5
modules/harvest_tools/proceedings.py
modules/harvest_tools/proceedings.py
+4
-5
modules/harvest_tools/reports.py
modules/harvest_tools/reports.py
+4
-1
modules/harvest_tools/talks.py
modules/harvest_tools/talks.py
+4
-5
modules/harvest_tools/thesis.py
modules/harvest_tools/thesis.py
+4
-5
No files found.
modules/harvest_tools/notes.py
View file @
317eeb87
...
...
@@ -33,14 +33,13 @@ class Notes(Automaton):
print
"select note record"
try
:
self
.
check
.
my_authors
(
record
,
reference
=
self
.
_my_author_list
(
record
),
cmpFct
=
family_name_fr
)
self
.
check
.
oai
(
record
)
self
.
check
.
submitted
(
record
)
self
.
check
.
year
(
record
)
self
.
check
.
format_authors
(
record
,
format_author_fr
)
self
.
check
.
get_my_authors
(
record
,
family_name_fr
)
self
.
check
.
fix_oai
(
record
)
except
CheckException
as
e
:
self
.
logs
[
-
1
].
reject
(
e
,
record
.
year
())
return
False
...
...
modules/harvest_tools/preprints.py
View file @
317eeb87
...
...
@@ -55,14 +55,13 @@ class Preprints(Automaton):
return
False
try
:
self
.
check
.
my_authors
(
record
,
reference
=
self
.
_my_author_list
(
record
),
cmpFct
=
family_name_fr
)
self
.
check
.
oai
(
record
)
self
.
check
.
submitted
(
record
)
self
.
check
.
year
(
record
)
self
.
check
.
format_authors
(
record
,
format_author_fr
)
self
.
check
.
get_my_authors
(
record
,
family_name_fr
)
self
.
check
.
fix_oai
(
record
)
except
CheckException
as
e
:
self
.
logs
[
-
1
].
reject
(
e
,
record
.
year
())
return
False
...
...
modules/harvest_tools/proceedings.py
View file @
317eeb87
...
...
@@ -33,11 +33,6 @@ class Proceedings(Automaton):
print
"select and check proceeding record"
try
:
self
.
check
.
my_authors
(
record
,
reference
=
self
.
_my_author_list
(
record
),
cmpFct
=
family_name_fr
)
self
.
check
.
oai
(
record
)
self
.
check
.
is_conference
(
record
)
self
.
check
.
conference
(
record
)
...
...
@@ -48,6 +43,10 @@ class Proceedings(Automaton):
self
.
check
.
paper_reference
(
record
)
self
.
check
.
format_editor
(
record
)
self
.
check
.
format_authors
(
record
,
format_author_fr
)
self
.
check
.
get_my_authors
(
record
,
family_name_fr
)
self
.
check
.
fix_oai
(
record
)
except
CheckException
as
e
:
self
.
logs
[
-
1
].
reject
(
e
,
record
.
year
())
return
False
...
...
modules/harvest_tools/reports.py
View file @
317eeb87
...
...
@@ -40,10 +40,13 @@ class Reports(Automaton):
return
False
try
:
self
.
check
.
oai
(
record
)
self
.
check
.
submitted
(
record
)
self
.
check
.
year
(
record
)
self
.
check
.
format_authors
(
record
,
format_author_fr
)
self
.
check
.
get_my_authors
(
record
,
family_name_fr
)
self
.
check
.
fix_oai
(
record
)
except
CheckException
as
e
:
self
.
logs
[
-
1
].
reject
(
e
,
record
.
year
())
return
False
...
...
modules/harvest_tools/talks.py
View file @
317eeb87
...
...
@@ -33,17 +33,16 @@ class Talks(Automaton):
print
"select talk record"
try
:
self
.
check
.
my_authors
(
record
,
reference
=
self
.
_my_author_list
(
record
),
cmpFct
=
family_name_fr
)
self
.
check
.
oai
(
record
)
self
.
check
.
is_conference
(
record
)
self
.
check
.
conference
(
record
)
self
.
check
.
submitted
(
record
)
self
.
check
.
year
(
record
)
self
.
check
.
format_authors
(
record
,
format_author_fr
)
self
.
check
.
get_my_authors
(
record
,
family_name_fr
)
self
.
check
.
fix_oai
(
record
)
except
CheckException
as
e
:
self
.
logs
[
-
1
].
reject
(
e
,
record
.
year
())
return
False
...
...
modules/harvest_tools/thesis.py
View file @
317eeb87
...
...
@@ -34,16 +34,15 @@ class Thesis(Automaton):
return
False
try
:
self
.
check
.
my_authors
(
record
,
reference
=
self
.
_my_author_list
(
record
),
cmpFct
=
family_name_fr
)
self
.
check
.
oai
(
record
)
self
.
check
.
is_thesis
(
record
)
self
.
check
.
submitted
(
record
)
self
.
check
.
year
(
record
)
self
.
check
.
format_universities
(
record
)
self
.
check
.
format_authors
(
record
,
format_author_fr
)
self
.
check
.
get_my_authors
(
record
,
family_name_fr
)
self
.
check
.
fix_oai
(
record
)
except
CheckException
as
e
:
self
.
logs
[
-
1
].
reject
(
e
,
record
.
year
())
return
False
...
...
Write
Preview
Markdown
is supported
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