-
Notifications
You must be signed in to change notification settings - Fork 2
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
Adds native spelunker support #414
Merged
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
fe9df21
adds spelunker as main neuroglancer distro
dxenes1 5fb3aa8
adds native spelunker support
dxenes1 b8f884c
Merge branch 'main' into spelunker
dxenes1 cab89d3
Merge branch 'main' into spelunker
dxenes1 bdeb22e
run precommit
dxenes1 c6d258e
bug fixes and readability improvements
dxenes1 25cf0bf
adds inspect for spelunker tasks
dxenes1 8d2006f
updates email and disables debug
dxenes1 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
[codespell] | ||
# Ref: https://github.com/codespell-project/codespell#using-a-config-file | ||
skip = .git*,*.svg,package-lock.json,*.css,*-min.*,.codespellrc,*.bundle.*,*.map | ||
skip = .git*,*.svg,package-lock.json,*.css,*-min.*,.codespellrc,*.bundle.*,*.map, *.js | ||
check-hidden = true | ||
# ignore-regex = | ||
# ignore-regex = | ||
# some favorite albeit unfortunate variable names | ||
ignore-words-list = te |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,4 +14,3 @@ repos: | |
rev: v2.3.0 | ||
hooks: | ||
- id: codespell | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
|
||
# import the logging library | ||
import logging | ||
|
||
import warnings | ||
logging.basicConfig(level=logging.DEBUG) | ||
# Get an instance of a logger | ||
logger = logging.getLogger(__name__) | ||
|
@@ -111,8 +111,10 @@ def create_stats_table(pending_tasks, closed_tasks): | |
for namespace, namespace_df in df.groupby("namespace"): | ||
n_tasks = len(namespace_df) | ||
m = namespace_df[status].min() | ||
average_event_time = (m + (namespace_df[status] - m)).mean().to_pydatetime() | ||
changelog.append((average_event_time, n_tasks, status, namespace)) | ||
with warnings.catch_warnings(): | ||
warnings.simplefilter("ignore") | ||
average_event_time = (m + (namespace_df[status] - m)).mean().to_pydatetime() | ||
changelog.append((average_event_time, n_tasks, status, namespace)) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why are we ignoring warnings here? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. a previous team member hannah gooden reported annoying warnings here |
||
|
||
# Sort changelogs by datetime | ||
daily_changelog_items = sorted( | ||
|
30 changes: 30 additions & 0 deletions
30
neuvue_project/workspace/migrations/0022_alter_namespace_ng_host.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# Generated by Django 4.2.11 on 2024-10-21 20:47 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("workspace", "0021_alter_namespace_ng_host"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="namespace", | ||
name="ng_host", | ||
field=models.CharField( | ||
choices=[ | ||
("neuvue", "NeuVue Legacy"), | ||
("spelunker", "Spelunker Native"), | ||
("https://neuroglancer.bossdb.io", "neuroglancer.bossdb.io"), | ||
( | ||
"https://spelunker.cave-explorer.org/", | ||
"spelunker.cave-explorer.org", | ||
), | ||
], | ||
default="neuvue", | ||
max_length=100, | ||
), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Very glad you are changing this. Can you change the
mailto:
link as well?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.
consider it done!