diff --git a/ames/harvesters/.caltechdata.py.swp b/ames/harvesters/.caltechdata.py.swp new file mode 100644 index 0000000..62a6cbb Binary files /dev/null and b/ames/harvesters/.caltechdata.py.swp differ diff --git a/ames/matchers/eprints.py b/ames/matchers/eprints.py index c06d976..75db6d7 100644 --- a/ames/matchers/eprints.py +++ b/ames/matchers/eprints.py @@ -25,7 +25,7 @@ def resolver_links(source, keys, outfile=None): meta = get_eprint(source, eprint_id) # Ignore errors where the record doesn't exist if meta != None: - if meta["eprint_status"] not in ["deletion","inbox"]: + if meta["eprint_status"] not in ["deletion", "inbox"]: new = replace_string(meta, "official_url", "http://", "https://") if new: url = ( diff --git a/run_usage.py b/run_usage.py index 698812a..5aaea42 100644 --- a/run_usage.py +++ b/run_usage.py @@ -46,7 +46,7 @@ build_aggregate(month_collection) aggregate_usage(usage_collection, month_collection) -#keys = dataset.keys(month_collection) +# keys = dataset.keys(month_collection) today = datetime.today() last_month = today.replace(day=1) - timedelta(days=1) keys = [f"{last_month.year}-{last_month.month:02}"]