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

updateTitleDate.py - add try:except loop to address null values in source csv #6

Open
kgrons opened this issue Jan 25, 2019 · 0 comments

Comments

@kgrons
Copy link
Member

kgrons commented Jan 25, 2019

from @robertmhudson

Source CSV may include assets with no date, you could insert a try: except loop around the places that deal with the dates (maybe right as you’re parsing the csv?). I think it’s a value error, so that would be the except. That’ll just keep the script from breaking. As it is now, it will only complete if you feed it a csv with no null values in any of the date components.*

*removing null date value rows is the workaround til we figure out how to add in this try loop!

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

No branches or pull requests

1 participant