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
ca18deac
Commit
ca18deac
authored
Mar 18, 2016
by
LE GAC Renaud
Browse files
Change the name in the script documentation.
parent
0334261e
Changes
20
Show whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
273 additions
and
273 deletions
+273
-273
scripts/change_status_submitted.py
scripts/change_status_submitted.py
+19
-19
scripts/export_to_csv.py
scripts/export_to_csv.py
+19
-19
scripts/fix_acti2com_cppm.py
scripts/fix_acti2com_cppm.py
+3
-3
scripts/fix_collaboration.py
scripts/fix_collaboration.py
+29
-29
scripts/fix_conference_dates.py
scripts/fix_conference_dates.py
+30
-30
scripts/fix_conference_url.py
scripts/fix_conference_url.py
+2
-2
scripts/fix_country_0808.py
scripts/fix_country_0808.py
+3
-3
scripts/fix_country_0900.py
scripts/fix_country_0900.py
+2
-2
scripts/fix_defense.py
scripts/fix_defense.py
+26
-26
scripts/fix_institute_id.py
scripts/fix_institute_id.py
+2
-2
scripts/fix_origin_0900.py
scripts/fix_origin_0900.py
+3
-3
scripts/fix_page_volume.py
scripts/fix_page_volume.py
+2
-2
scripts/fix_publications_url.py
scripts/fix_publications_url.py
+3
-3
scripts/fix_publisher_0900.py
scripts/fix_publisher_0900.py
+3
-3
scripts/fix_report_number.py
scripts/fix_report_number.py
+2
-2
scripts/fix_submitted.py
scripts/fix_submitted.py
+30
-30
scripts/fix_year.py
scripts/fix_year.py
+2
-2
scripts/import_from_csv.py
scripts/import_from_csv.py
+17
-17
scripts/run
scripts/run
+3
-3
scripts/statistics.py
scripts/statistics.py
+73
-73
No files found.
scripts/change_status_submitted.py
View file @
ca18deac
...
...
@@ -23,8 +23,8 @@
EXAMPLE
> cd ...
track_publications
/scripts
> ./
track_publications
change-status-submitted
> cd ...
limbra
/scripts
> ./
run script
change-status-submitted
AUTHOR
R. Le Gac -- Dec 2014
...
...
scripts/export_to_csv.py
View file @
ca18deac
...
...
@@ -16,8 +16,8 @@
EXAMPLE
> cd ...
track_publications
/scripts
> ./
track_publications
export-to-csv.py publications ~/mywap/
track_publications
/scripts/publications.csv
> cd ...
limbra
/scripts
> ./
run script
export-to-csv.py publications ~/mywap/
limbra
/scripts/publications.csv
AUTHOR
R. Le Gac
...
...
scripts/fix_acti2com_cppm.py
View file @
ca18deac
...
...
@@ -23,9 +23,9 @@
EXAMPLE
> cd ...
track_publications
/scripts
> ./run -S test_
publications
script fix_acti2com_cppm.py
> ./run -S
track_publications
script fix_acti2com_cppm.py
> cd ...
limbra
/scripts
> ./run -S test_
limbra
script fix_acti2com_cppm.py
> ./run -S
limbra
script fix_acti2com_cppm.py
AUTHOR
...
...
scripts/fix_collaboration.py
View file @
ca18deac
...
...
@@ -6,7 +6,7 @@
fix the publications field collaboration.
DESCRIPTION
Before the
track_publications
version 0.8.8, no rules have been
Before the
limbra
version 0.8.8, no rules have been
applied on the collaboration(s) signing the publications.
As a consequence, the database contains a mixture of syntax.
...
...
@@ -19,8 +19,8 @@
EXAMPLE
> cd ...
track_publications
/scripts
> ./
track_publications
fix-collaboration
> cd ...
limbra
/scripts
> ./
run script
fix-collaboration
AUTHOR
R. Le Gac -- Dec 2014
...
...
scripts/fix_conference_dates.py
View file @
ca18deac
...
...
@@ -24,8 +24,8 @@
EXAMPLE
> cd ...
track_publications
/scripts
> ./
track_publications
fix-conference-dates
> cd ...
limbra
/scripts
> ./
run script
fix-conference-dates
AUTHOR
R. Le Gac -- Nov 2014
...
...
scripts/fix_conference_url.py
View file @
ca18deac
...
...
@@ -16,8 +16,8 @@
EXAMPLE
> cd ...
track_publications
/scripts
> ./
track_publications
fix-conference-url
> cd ...
limbra
/scripts
> ./
run script
fix-conference-url
AUTHOR
R. Le Gac -- Dec 2014
...
...
scripts/fix_country_0808.py
View file @
ca18deac
...
...
@@ -6,7 +6,7 @@
fix-country [options]
DESCRIPTION
Before the
track_publications
0.8.8, the name of the country
Before the
limbra
0.8.8, the name of the country
for a conference is defined by the user or by harvesters.
As the result, the database contains a mixture of French and
English name for country. In addition, some value are wrong.
...
...
@@ -26,9 +26,9 @@
EXAMPLE
> cd ...
/track_publications
/scripts
> cd ...
limbra
/scripts
> ./run script fix-country-0808.py
> ./run script -S
track_publications
_cppm fix-country-0808.py
> ./run script -S
limbra
_cppm fix-country-0808.py
AUTHOR
R. Le Gac -- Nov 2014
...
...
scripts/fix_country_0900.py
View file @
ca18deac
...
...
@@ -21,9 +21,9 @@
EXAMPLE
> cd ...
/track_publications
/scripts
> cd ...
limbra
/scripts
> ./run script fix_country_0815.py
> ./run script -S
track_publications
_cppm fix_country_0815.py
> ./run script -S
limbra
_cppm fix_country_0815.py
AUTHOR
R. Le Gac -- Oct 2015
...
...
scripts/fix_defense.py
View file @
ca18deac
...
...
@@ -16,8 +16,8 @@
EXAMPLE
> cd ...
track_publications
/scripts
> ./
track_publications
fix-defense
> cd ...
limbra
/scripts
> ./
run script
fix-defense
AUTHOR
R. Le Gac -- Nov 2014
...
...
scripts/fix_institute_id.py
View file @
ca18deac
...
...
@@ -20,8 +20,8 @@
EXAMPLE
> cd ...
track_publications
/scripts
> ./run fix-institute-id
> cd ...
limbra
/scripts
> ./run
script
fix-institute-id
AUTHOR
R. Le Gac -- Sep 2015
...
...
scripts/fix_origin_0900.py
View file @
ca18deac
...
...
@@ -6,7 +6,7 @@
fix-origin-0815 [options]
DESCRIPTION
Before the
track_publications
0.8.15, the name origin field
Before the
limbra
0.8.15, the name origin field
contains the OAI identifier of the store.
The same publication can be found in the cds and in the inspirehep
...
...
@@ -23,9 +23,9 @@
EXAMPLE
> cd ...
/track_publications
/scripts
> cd ...
limbra
/scripts
> ./run script fix-origin-0815.py
> ./run script -S
track_publications
_cppm fix-origin-0815.py
> ./run script -S
limbra
_cppm fix-origin-0815.py
AUTHOR
R. Le Gac -- Oct 2015
...
...
scripts/fix_page_volume.py
View file @
ca18deac
...
...
@@ -18,8 +18,8 @@
EXAMPLE
> cd ...
track_publications
/scripts
> ./
track_publications
fix-page-volume
> cd ...
limbra
/scripts
> ./
run script
fix-page-volume
AUTHOR
R. Le Gac -- Dec 2014
...
...
scripts/fix_publications_url.py
View file @
ca18deac
...
...
@@ -7,7 +7,7 @@
DESCRIPTION
The field publication_url is the URL of the pdf file.
This definition has been re-enforce in
track_publications
0.8.8.
This definition has been re-enforce in
limbra
0.8.8.
The script check this field and try to fix it.
OPTIONS
...
...
@@ -17,8 +17,8 @@
EXAMPLE
> cd ...
track_publications
/scripts
> ./
track_publications
fix-paper-url
> cd ...
limbra
/scripts
> ./
run script
fix-paper-url
AUTHOR
R. Le Gac -- Dec 2014
...
...
scripts/fix_publisher_0900.py
View file @
ca18deac
...
...
@@ -23,9 +23,9 @@
EXAMPLE
> cd ...
/track_publications
/scripts
> cd ...
limbra
/scripts
> ./run script fix_publisher_0815.py
> ./run -S
track_publications
_cppm script fix_publisher_0815.py
> ./run -S
limbra
_cppm script fix_publisher_0815.py
> ./run loop fix_publisher_0815.py
AUTHOR
...
...
@@ -36,7 +36,7 @@ import sys
from
numpy.ma.core
import
ids
DATA
=
"applications/
track_publications
/scripts/data/REV_BDD_2015.csv"
DATA
=
"applications/
limbra
/scripts/data/REV_BDD_2015.csv"
def
insert_new_publisher
(
**
kwargs
):
"""Inset a new publisher in the database.
...
...
scripts/fix_report_number.py
View file @
ca18deac
...
...
@@ -16,8 +16,8 @@
EXAMPLE
> cd ...
track_publications
/scripts
> ./
track_publications
fix-report-number
> cd ...
limbra
/scripts
> ./
run script
fix-report-number
AUTHOR
R. Le Gac -- Dec 2014
...
...
scripts/fix_submitted.py
View file @
ca18deac
...
...
@@ -21,8 +21,8 @@
EXAMPLE
> cd ...
track_publications
/scripts
> ./
track_publications
fix-submitted
> cd ...
limbra
/scripts
> ./
run script
fix-submitted
AUTHOR
R. Le Gac -- Nov 2014
...
...
scripts/fix_year.py
View file @
ca18deac
...
...
@@ -16,9 +16,9 @@
EXAMPLE
> cd ...
/track_publications
/scripts
> cd ...
limbra
/scripts
> ./run script fix_year.py
> ./run -S
track_publications
_cppm script fix_year.py
> ./run -S
limbra
_cppm script fix_year.py
> ./run loop fix-year.py
> ...
...
...
scripts/import_from_csv.py
View file @
ca18deac
...
...
@@ -16,8 +16,8 @@
EXAMPLE
> cd ..
.track_publications
/scripts
> ./
track_publications
import-from-csv.py ~/mywap/
track_publications
/scripts/publications.csv publications
> cd ..
limbra
/scripts
> ./
run script
import-from-csv.py ~/mywap/
limbra
/scripts/publications.csv publications
AUTHOR
R. Le Gac
...
...
@@ -31,7 +31,7 @@ if __name__ == "__main__":
from
argparse
import
ArgumentParser
,
FileType
TRACK_PUBLICATIONS_DIR
=
'../
track_publications
'
TRACK_PUBLICATIONS_DIR
=
'../
limbra
'
# command line options
parser
=
ArgumentParser
()
...
...
scripts/run
View file @
ca18deac
...
...
@@ -27,7 +27,7 @@
context (model, modules and database are available). By default
the application is the current one.
> cd ...
track_publications
/scripts
> cd ...
limbra
/scripts
> ./run script my_script.py
When the same software serves several applications, it is possible
...
...
@@ -70,12 +70,12 @@
Display the help and exit.
-S, --shell
By default the application is
track_publications
.
By default the application is
limbra
.
This allow to select another one.
EXAMPLE
> cd ...
track_publications
/scripts
> cd ...
limbra
/scripts
> ./run -h
...
...
scripts/statistics.py
View file @
ca18deac
...
...
@@ -17,8 +17,8 @@
EXAMPLE
> cd ...
track_publications
/scripts
> ./run statistics.py
> cd ...
limbra
/scripts
> ./run
script
statistics.py
AUTHOR
R. Le Gac -- Mar 2015
...
...
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