seqeyes-python 0.3.11__tar.gz → 0.3.12__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (21) hide show
  1. {seqeyes_python-0.3.11 → seqeyes_python-0.3.12}/PKG-INFO +1 -1
  2. {seqeyes_python-0.3.11 → seqeyes_python-0.3.12}/pyproject.toml +1 -1
  3. {seqeyes_python-0.3.11 → seqeyes_python-0.3.12}/src/seqeyes/__init__.py +1 -1
  4. {seqeyes_python-0.3.11 → seqeyes_python-0.3.12}/src/seqeyes/resources/pulseq-bundle.js +1 -1
  5. {seqeyes_python-0.3.11 → seqeyes_python-0.3.12}/src/seqeyes/resources/webview-bundle.js +5 -1
  6. {seqeyes_python-0.3.11 → seqeyes_python-0.3.12}/.gitignore +0 -0
  7. {seqeyes_python-0.3.11 → seqeyes_python-0.3.12}/README.md +0 -0
  8. {seqeyes_python-0.3.11 → seqeyes_python-0.3.12}/examples/demo.ipynb +0 -0
  9. {seqeyes_python-0.3.11 → seqeyes_python-0.3.12}/examples/demo.py +0 -0
  10. {seqeyes_python-0.3.11 → seqeyes_python-0.3.12}/src/seqeyes/_plot.py +0 -0
  11. {seqeyes_python-0.3.11 → seqeyes_python-0.3.12}/src/seqeyes/_renderer.py +0 -0
  12. {seqeyes_python-0.3.11 → seqeyes_python-0.3.12}/src/seqeyes/resources/seqeyes-labels.js +0 -0
  13. {seqeyes_python-0.3.11 → seqeyes_python-0.3.12}/src/seqeyes/resources/viewer.html +0 -0
  14. {seqeyes_python-0.3.11 → seqeyes_python-0.3.12}/tests/conftest.py +0 -0
  15. {seqeyes_python-0.3.11 → seqeyes_python-0.3.12}/tests/debug_full.html +0 -0
  16. {seqeyes_python-0.3.11 → seqeyes_python-0.3.12}/tests/debug_minimal.html +0 -0
  17. {seqeyes_python-0.3.11 → seqeyes_python-0.3.12}/tests/debug_viewer.html +0 -0
  18. {seqeyes_python-0.3.11 → seqeyes_python-0.3.12}/tests/debug_viewer.py +0 -0
  19. {seqeyes_python-0.3.11 → seqeyes_python-0.3.12}/tests/integration_test.py +0 -0
  20. {seqeyes_python-0.3.11 → seqeyes_python-0.3.12}/tests/test_plot.py +0 -0
  21. {seqeyes_python-0.3.11 → seqeyes_python-0.3.12}/tests/test_renderer.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: seqeyes-python
3
- Version: 0.3.11
3
+ Version: 0.3.12
4
4
  Summary: Interactive Pulseq MRI sequence viewer for Jupyter — lightweight, beautiful, replaces seq.plot() in pypulseq.
5
5
  Project-URL: Homepage, https://github.com/bughht/seqeyes_plugin
6
6
  Project-URL: Repository, https://github.com/bughht/seqeyes_plugin
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "seqeyes-python"
7
- version = "0.3.11"
7
+ version = "0.3.12"
8
8
  description = "Interactive Pulseq MRI sequence viewer for Jupyter — lightweight, beautiful, replaces seq.plot() in pypulseq."
9
9
  readme = "README.md"
10
10
  license = {text = "MIT"}
@@ -29,4 +29,4 @@ from seqeyes._plot import set, reset
29
29
  from seqeyes._renderer import SeqEyesViewer
30
30
 
31
31
  __all__ = ["set", "reset", "SeqEyesViewer"]
32
- __version__ = "0.3.11"
32
+ __version__ = "0.3.12"
@@ -89,7 +89,7 @@ var Pulseq = (() => {
89
89
  });
90
90
 
91
91
  // package.json
92
- var version = "0.3.11";
92
+ var version = "0.3.12";
93
93
 
94
94
  // src/pulseq/decompressor.ts
95
95
  function decompressShape(compressed, numSamples) {
@@ -1804,7 +1804,11 @@ function drawMinimap(){
1804
1804
 
1805
1805
  // ── Blit cached block bands ──
1806
1806
  if(mmCache){
1807
- mmCtx.drawImage(mmCache,0,0);
1807
+ // The cache is built at device resolution while this context carries a
1808
+ // scale(dpr) transform, so it must be given the CSS-pixel destination
1809
+ // size. Without it the cache draws dpr times too wide and only the
1810
+ // leading 1/dpr of the sequence stays on the strip.
1811
+ mmCtx.drawImage(mmCache,0,0,W,H);
1808
1812
  }else{
1809
1813
  mmCtx.fillStyle=s.getPropertyValue('--trbg').trim();mmCtx.fillRect(0,0,W,H);
1810
1814
  }