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

iter_study_objs() will crash if study has been deleted #115

Open
pmidford opened this issue Feb 17, 2015 · 0 comments
Open

iter_study_objs() will crash if study has been deleted #115

pmidford opened this issue Feb 17, 2015 · 0 comments

Comments

@pmidford
Copy link

I copied and modified the ott_status_report script to generate historical statistics from the phylesystem-1 shard. I encountered a problem where the iter_study_objs() method crashed with a can't open file error pointing to a nexson in the local copy of the shard. The file was definitely there - I think it may be related to the study having been deleted at some point, though it somehow still turned up in the list of study ids. I worked around the problem using iter_study_filepaths and os.path_isfile, but I'm concerned that there maybe something funny and git-related that I don't understand here.

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

No branches or pull requests

1 participant