-
Notifications
You must be signed in to change notification settings - Fork 75
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
BUG: Fix access_urls for some services #152
Conversation
Catalogs are allowed to specify the name of a service that is contained within a compound service. Siphon was not properly creating the access urls dictionary for this case.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One question that is more for me to understand the compound service.
service_name = metadata['serviceName'] | ||
all_service_dict = {} | ||
for service in all_services: | ||
all_service_dict[service.name] = service |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this be in an else? (i.e. should the compound service be in the dictionary or just it's sub services?)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You want both. I initially had it as an else
, and it (rightly) failed tests.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Seems that we weren't using the right variable to point to the 64-bit conda, so we were running 32-bit conda on 64-bit platforms. Oops.
We've asked CodeCov to track this, so we should probably no longer ignore coverage results for the test files.
Catalogs are allowed to specify the name of a service that is contained
within a compound service. Siphon was not properly creating the access
urls dictionary for this case.