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

Model upload bug #360

Merged
merged 3 commits into from
Apr 13, 2020
Merged

Model upload bug #360

merged 3 commits into from
Apr 13, 2020

Conversation

leoarc
Copy link
Contributor

@leoarc leoarc commented Apr 13, 2020

The check duplicate name feature was added in #318 and was fixed in #327 . But the bug was again added in #348 as some of the old code was added back. This PR fixes the bug .

Also earlier the feature worked only after refreshing the table as the modelName was only updated during initialization which meant same name model could be uploaded in the same session. This has also been fixed .

@birm
Copy link
Member

birm commented Apr 13, 2020

Ah, this is what happens when we both try to do a fix at the same time. I think that cd00a7b also fixes, but keeps the name duplicate checking; does it work for you?

@leoarc
Copy link
Contributor Author

leoarc commented Apr 13, 2020

the namearray is not needed . It is the earlier implementation which doesn't work. The right one was done in #327

@birm birm self-requested a review April 13, 2020 05:01
@birm
Copy link
Member

birm commented Apr 13, 2020

Thanks for catching this. I guess I must've confused a revert for new code, or something like that.

@birm birm merged commit dab8a85 into camicroscope:develop Apr 13, 2020
@birm birm mentioned this pull request Apr 17, 2020
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