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

Add check to see if have cross-scene data #180

Merged
merged 1 commit into from
May 7, 2019

Conversation

peteflorence
Copy link
Collaborator

Contributed from @dan9thsense

We should test before merging, but looks good.

Copy link
Collaborator

@manuelli manuelli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixes #169

or not os.path.isdir(dataset.get_full_path_for_scene(scene_name_b)):
print("at least one of these scene names does not exist:", scene_name_a, scene_name_b)
continue
print("these scene names both exist:", scene_name_a, scene_name_b)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would remove this print statement, it's unecessary.

or not os.path.isdir(dataset.get_full_path_for_scene(scene_name_b)):
print("at least one of these scene names does not exist:", scene_name_a, scene_name_b)
continue
print("these scene names exist:", scene_name_a, scene_name_b)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would remove this print statement, it's unecessary.

@manuelli manuelli merged commit e78911f into master May 7, 2019
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.

2 participants