Skip to content

Commit

Permalink
Bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tmorrell committed Dec 17, 2018
1 parent a13d0e0 commit efb4816
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ repositories.
## Contents

- caltech_thesis - Transform CaltechTHESIS records to DataCite
-


## Setup

Expand All @@ -22,6 +24,9 @@ editor that contains your DataCite password. The username is hardcoded in the
script, since non-Caltech users will have to modify the script to work with
their Eprints installation.

If you want to download metadata from Eprints, you need to install
[eprint-tools](https://github.com/caltechlibrary/eprinttools)

You can also import the metadata transformation function into another python script by typing
`python setup.py install` in the epxml_to_datacite directory. Then include
`import caltech_thesis` at the top of your new script and you wil be able to
Expand Down
2 changes: 1 addition & 1 deletion caltech_thesis.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ def epxml_to_datacite(eprint):

#Validation fails on Windows
if os.name == 'nt':
valid == True
valid = True
else:
valid = schema40.validate(metadata)
#Debugging if verification fails
Expand Down
2 changes: 1 addition & 1 deletion codemeta.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"codeRepository": "https://github.com/caltechlibrary/epxml_to_datacite",
"issueTracker": "https://github.com/caltechlibrary/epxml_to_datacite/issues",
"license": "https://data.caltech.edu/license",
"version": "0.11.0",
"version": "0.11.1",
"author": [
{
"@type": "Person",
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from setuptools import setup
setup(
name = 'epxml_to_datacite',
version ='0.11.0',
version ='0.11.1',
py_modules = ["caltech_thesis","caltech_authors_tech_report"],
data_files=[('.',['thesis-subjects.txt'])],
install_requires=[
Expand Down

0 comments on commit efb4816

Please sign in to comment.