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

Dynamically fetch whole body scaffold url for human. #154

Merged
merged 2 commits into from
Mar 31, 2023

Conversation

alan-wu
Copy link
Member

@alan-wu alan-wu commented Mar 30, 2023

Fetch whole body scaffold information then use it for sync map, it only works for human at this moment.

This can be tested with this branch and set VUE_APP_API_LOCATION=https://alan-wu-portal-api.herokuapp.com/.

Or watch the following video preview.

Physiome.Portal.-.2023-03-30.15-02-45.mp4

@alan-wu alan-wu requested a review from Tehsurfer March 30, 2023 01:51
@Tehsurfer
Copy link
Contributor

I ran it and it works well!

Was wondering how does it decide whether to go horizontal or vertical split?

image

I thought vertical split could be better here but I think it works very well as is ( I also took this screenshot on quite a wide screen)

Copy link
Contributor

@Tehsurfer Tehsurfer left a comment

Choose a reason for hiding this comment

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

Works well!

} else {
//Use default url if data is not found for any reason
if (species === "rat") {
return "https://mapcore-bucket1.s3.us-west-2.amazonaws.com/WholeBody/31-May-2021/ratBody/ratBody_syncmap_metadata.json";
Copy link
Contributor

Choose a reason for hiding this comment

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

The other species can't make a request for a whole body scaffold right?

Copy link
Member Author

Choose a reason for hiding this comment

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

No, we have decided to do that for rat and human. The rat dataset does not work well ( facing the opposite directly) so it is a hardcoded path for now.

@alan-wu alan-wu merged commit f39d71a into ABI-Software:main Mar 31, 2023
@alan-wu alan-wu mentioned this pull request Apr 4, 2023
6 tasks
@alan-wu alan-wu deleted the body-scaffold branch June 22, 2023 02:59
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