Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue 395 #396

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open

Issue 395 #396

wants to merge 7 commits into from

Conversation

ajstanley
Copy link
Contributor

@ajstanley ajstanley commented Mar 6, 2022

Link to Github issue or other discussion

Issue 395

What does this PR do?

Improves debug display

What changes were made?

Checked for type before printing

How to test / verify this PR?

Run a config with debug turned on, and with a dictionary or two - Output should show a well formated output.
ie

solr_base_url: 'http://localhost:8080/solr'
islandora_base_url: 'http://localhost:8000'
csv_output_path: 'islandora7_metadata.csv'
obj_directory: '/tmp/objs'
log_file_path: 'islandora_content2.log'
id_field: 'ID'
get_file_url: True
fetch_files: False
debug: True
field_pattern: '(dc\.|ancestors_ms)'
datastreams:
   islandora:pageCModel: 'JP2'
   islandora:sp_large_image_cmodel: JP2
solr_filters:
  'ancestors_ms': 'islandora:myAwesomeCollection'

Interested Parties

@mjordan


Checklist

  • Have you run pycodestyle --show-source --show-pep8 --ignore=E402,W504 --max-line-length=200 yourfile.py?
  • Have you included same configuration and/or CSV files useful for testing this PR?
  • Have you written unit or integration tests if applicable?
  • If the changes in this PR require an addiional Python library, have you included it in setup.py?
  • If the changes in this PR add a new configuration option, have you provided a default for when the option is not present in the .yml file?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant