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

Point Rotation #472

Draft
wants to merge 115 commits into
base: main_old
Choose a base branch
from
Draft

Point Rotation #472

wants to merge 115 commits into from

Conversation

PythonFZ
Copy link
Member

@PythonFZ PythonFZ commented Jun 12, 2024

image

PythonFZ and others added 30 commits May 21, 2024 19:39
PythonFZ and others added 25 commits May 28, 2024 17:12
* draft changes for react migration

* replace html template and JS with react

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* new pre-release version

* reload config on page refresh

* fix selection load

* load h5 / zntrack and make buttons toggle

* change order of selection methods

* trigger selection

* make trigger optional

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* support storage via ENV

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* print env variable

* replace `smembers` with `hgetall`

* fix escape

* make Delete first modifier

* replace black/isort with ruff

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* share storage through env var (I don't know a better way)

* disconnect all existing sockets

* a bit cleanup

* support tutorial

* simgen and tutorial buttons

* info box

* allow shift to draw on virtual canvas

* add exit button

* remove comma

* exit button

* bump version

* update docker file

* increase timeout

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* auto reconnect

* allow setting sorted

* change to trackballcontrols

* add tbar; fix via timeout

* fix colors

* update timeout configuruation

* disable shift click feature (unstable)

* bump version

* map positions to THREE.Vector3[]

* bugfix bonds

* cleanup

* hacky way to make jsoneditor work

* store values in localStorage

* start zndraw testing

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* install via bun

* fix path

* more testing

* remove some legacy code and unused packages

* typos

* typos and CI update

* disable and use doube // to escape

* disable check json because it seems to be failing for tsconfig.json comments

* visualize per particle vectors

* add info box

* update and pre-release

* fix formatting, add atomic number

* add ipython as dev dependency

* auth token from env

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* ipykernel instead of ipython

* add 0.1 ms between socket calls

* catch exceptions and retry

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* ensure points are numpy array

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* add delay

* move emit and call with retry into utils

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* cast to int

* export eventlet variable

* except BadNamespaceError as well

* better log msg

* port timeouts to modifier vis object

* only have eventlet on the main thread

* remove eventlet monkey_patch

* Make eventlet work (#470)

* remplace ZnDrawServer with create_app

* make eventlet work

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* remove comments

* review comments

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* test with redis

* no need for bun in CI (yet)

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* flush redis

* cleanup flush

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* load from env, if not given via CLI

* do not connect to localhost

* server_url from env

* monkey patch CLI

* monkey patch via environ

* allow all origins (unsafe!)

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* lazy_loading and patch everything

* test against list

* fix loading

* properly stop celery workers

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* stop znsocket and worker properly

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* switch controls

* show console and default and rescale

* console and SiMGen Link

* fix initial queue position

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
@codecov-commenter
Copy link

codecov-commenter commented Jun 12, 2024

Codecov Report

Attention: Patch coverage is 62.50000% with 6 lines in your changes missing coverage. Please review.

Project coverage is 46.69%. Comparing base (147149b) to head (ab3f26e).

Files Patch % Lines
tests/test_points.py 0.00% 5 Missing ⚠️
zndraw/zndraw.py 88.88% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##              dev     #472      +/-   ##
==========================================
+ Coverage   46.46%   46.69%   +0.23%     
==========================================
  Files          20       20              
  Lines        1795     1801       +6     
==========================================
+ Hits          834      841       +7     
+ Misses        961      960       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Base automatically changed from dev to main June 13, 2024 16:19
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