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

IGVF-1989-rm-model-zoo #1164

Open
wants to merge 3 commits into
base: dev
Choose a base branch
from
Open

IGVF-1989-rm-model-zoo #1164

wants to merge 3 commits into from

Conversation

shengchd
Copy link
Contributor

No description provided.

@shengchd shengchd requested a review from jenjou October 31, 2024 23:03
if 'model_zoo_location' in value:
model_zoo_location = value['model_zoo_location']
value['url'] = model_zoo_location
notes += f' This model set has {model_zoo_location} in model_zoo_location, but the property model_zoo_location were removed via upgrade and should be submitted in url.'
Copy link
Contributor

Choose a reason for hiding this comment

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

Add a .strip() to remove extra white space (in case the object does not have any notes prior to this upgrade).

Also, I think the sentence can also be shortened, but depends how we decide on whether it will get added to url or not. Maybe something like one of these?

  • The model_zoo_location of this model set was moved to url.
  • This model set previously linked to [link] in model_zoo_location, which has been removed via upgrade.

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