Skip to content

Conversation

@BinamB
Copy link
Contributor

@BinamB BinamB commented May 14, 2020

Description about what this pull request does.

Please make sure to follow the DEV guidelines before asking for review.

New Features

  • Decodes spaces from upload manifest to indexd
  • Encodes spaces when download manifest from indexd
  • Decodes spaces from manifest when validating with indexd

Breaking Changes

Bug Fixes

Improvements

Dependency updates

Deployment changes

@github-actions
Copy link

The style in this PR agrees with black. ✔️

This formatting comment was generated automatically by a script in uc-cdis/wool.

paulineribeyre
paulineribeyre previously approved these changes May 14, 2020
Comment on lines 374 to 377
if sorted([url.replace("%20", " ") for url in urls]) != sorted(
actual_record["urls"]
):
output = f"{guid}|urls|expected {urls}|actual {actual_record['urls']}\n"
Copy link
Contributor

Choose a reason for hiding this comment

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

this is nitpicky but i think you should pull the .replace out of the if, so that it's easier to read and you can display the replace 'd urls in the output

@BinamB BinamB merged commit 4bb220e into master May 15, 2020
@paulineribeyre paulineribeyre deleted the fix/encode_spaces branch May 15, 2020 15:46
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.

3 participants