-
Notifications
You must be signed in to change notification settings - Fork 34
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
testing and fixing outdated atlas generation scripts #249
Conversation
for more information, see https://pre-commit.ci
Solved errors:
Errors to be solved:
|
Steps to test changes on the HPC:
|
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.
Looking good - think we just need to fix the dependencies in pyproject.toml
and then this is good to go 🚀
@@ -12,8 +12,11 @@ | |||
import numpy as np | |||
import pandas as pd | |||
from rich.progress import track | |||
|
|||
######## I had to manually install this |
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.
This should be added to the dependencies
in pyproject.toml
then, I think,
@@ -8,6 +8,8 @@ | |||
import treelib | |||
import urllib3 | |||
from allensdk.core.structure_tree import StructureTree | |||
|
|||
### I had to install manually |
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.
Again, worth adding to the dependencies. If it is very big or hard-to-install, it can be an optional dependency like allensdk
.
@@ -14,7 +14,10 @@ | |||
|
|||
import os | |||
|
|||
######## I had to manually install this |
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.
We should depend on brainglobe-utils.imageio
instead (see brainglobe/brainglobe-utils#33 for details), which may need to be added to the dependencies.
Description
We want to test if the atlas validation functions pass after regenerating atlases (see: #201).
Currently, the atlas generation scripts are outdated, so to regenerate the atlases, first, we need to fix and tidy the scripts.
What is this PR
Why is this PR needed?
We need an up-to-date version of the atlas generation scripts and the atlases.
What does this PR do?
Fixes syntax errors, and removes outdated packages.
References
#201
How has this PR been tested?
It's just a draft PR so far
Is this a breaking change?
It might be, due to changes in
vedo
syntax and function arguments.Does this PR require an update to the documentation?
Yes
Checklist: