spacr 0.0.61__tar.gz → 0.0.62__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 (58) hide show
  1. {spacr-0.0.61/spacr.egg-info → spacr-0.0.62}/PKG-INFO +1 -1
  2. {spacr-0.0.61 → spacr-0.0.62}/setup.py +1 -1
  3. {spacr-0.0.61 → spacr-0.0.62}/spacr/__init__.py +9 -2
  4. {spacr-0.0.61 → spacr-0.0.62/spacr.egg-info}/PKG-INFO +1 -1
  5. {spacr-0.0.61 → spacr-0.0.62}/LICENSE +0 -0
  6. {spacr-0.0.61 → spacr-0.0.62}/MANIFEST.in +0 -0
  7. {spacr-0.0.61 → spacr-0.0.62}/README.md +0 -0
  8. {spacr-0.0.61 → spacr-0.0.62}/setup.cfg +0 -0
  9. {spacr-0.0.61 → spacr-0.0.62}/spacr/__main__.py +0 -0
  10. {spacr-0.0.61 → spacr-0.0.62}/spacr/alpha.py +0 -0
  11. {spacr-0.0.61 → spacr-0.0.62}/spacr/annotate_app.py +0 -0
  12. {spacr-0.0.61 → spacr-0.0.62}/spacr/chris.py +0 -0
  13. {spacr-0.0.61 → spacr-0.0.62}/spacr/cli.py +0 -0
  14. {spacr-0.0.61 → spacr-0.0.62}/spacr/core.py +0 -0
  15. {spacr-0.0.61 → spacr-0.0.62}/spacr/deep_spacr.py +0 -0
  16. {spacr-0.0.61 → spacr-0.0.62}/spacr/foldseek.py +0 -0
  17. {spacr-0.0.61 → spacr-0.0.62}/spacr/get_alfafold_structures.py +0 -0
  18. {spacr-0.0.61 → spacr-0.0.62}/spacr/graph_learning.py +0 -0
  19. {spacr-0.0.61 → spacr-0.0.62}/spacr/gui.py +0 -0
  20. {spacr-0.0.61 → spacr-0.0.62}/spacr/gui_2.py +0 -0
  21. {spacr-0.0.61 → spacr-0.0.62}/spacr/gui_classify_app.py +0 -0
  22. {spacr-0.0.61 → spacr-0.0.62}/spacr/gui_mask_app.py +0 -0
  23. {spacr-0.0.61 → spacr-0.0.62}/spacr/gui_measure_app.py +0 -0
  24. {spacr-0.0.61 → spacr-0.0.62}/spacr/gui_sim_app.py +0 -0
  25. {spacr-0.0.61 → spacr-0.0.62}/spacr/gui_utils.py +0 -0
  26. {spacr-0.0.61 → spacr-0.0.62}/spacr/io.py +0 -0
  27. {spacr-0.0.61 → spacr-0.0.62}/spacr/logger.py +0 -0
  28. {spacr-0.0.61 → spacr-0.0.62}/spacr/mask_app.py +0 -0
  29. {spacr-0.0.61 → spacr-0.0.62}/spacr/measure.py +0 -0
  30. {spacr-0.0.61 → spacr-0.0.62}/spacr/models/cp/toxo_pv_lumen.CP_model +0 -0
  31. {spacr-0.0.61 → spacr-0.0.62}/spacr/old_code.py +0 -0
  32. {spacr-0.0.61 → spacr-0.0.62}/spacr/plot.py +0 -0
  33. {spacr-0.0.61 → spacr-0.0.62}/spacr/sequencing.py +0 -0
  34. {spacr-0.0.61 → spacr-0.0.62}/spacr/sim.py +0 -0
  35. {spacr-0.0.61 → spacr-0.0.62}/spacr/timelapse.py +0 -0
  36. {spacr-0.0.61 → spacr-0.0.62}/spacr/utils.py +0 -0
  37. {spacr-0.0.61 → spacr-0.0.62}/spacr/version.py +0 -0
  38. {spacr-0.0.61 → spacr-0.0.62}/spacr.egg-info/SOURCES.txt +0 -0
  39. {spacr-0.0.61 → spacr-0.0.62}/spacr.egg-info/dependency_links.txt +0 -0
  40. {spacr-0.0.61 → spacr-0.0.62}/spacr.egg-info/entry_points.txt +0 -0
  41. {spacr-0.0.61 → spacr-0.0.62}/spacr.egg-info/requires.txt +0 -0
  42. {spacr-0.0.61 → spacr-0.0.62}/spacr.egg-info/top_level.txt +0 -0
  43. {spacr-0.0.61 → spacr-0.0.62}/tests/test_annotate_app.py +0 -0
  44. {spacr-0.0.61 → spacr-0.0.62}/tests/test_core.py +0 -0
  45. {spacr-0.0.61 → spacr-0.0.62}/tests/test_gui_classify_app.py +0 -0
  46. {spacr-0.0.61 → spacr-0.0.62}/tests/test_gui_mask_app.py +0 -0
  47. {spacr-0.0.61 → spacr-0.0.62}/tests/test_gui_measure_app.py +0 -0
  48. {spacr-0.0.61 → spacr-0.0.62}/tests/test_gui_sim_app.py +0 -0
  49. {spacr-0.0.61 → spacr-0.0.62}/tests/test_gui_utils.py +0 -0
  50. {spacr-0.0.61 → spacr-0.0.62}/tests/test_io.py +0 -0
  51. {spacr-0.0.61 → spacr-0.0.62}/tests/test_mask_app.py +0 -0
  52. {spacr-0.0.61 → spacr-0.0.62}/tests/test_measure.py +0 -0
  53. {spacr-0.0.61 → spacr-0.0.62}/tests/test_plot.py +0 -0
  54. {spacr-0.0.61 → spacr-0.0.62}/tests/test_sim.py +0 -0
  55. {spacr-0.0.61 → spacr-0.0.62}/tests/test_timelapse.py +0 -0
  56. {spacr-0.0.61 → spacr-0.0.62}/tests/test_train.py +0 -0
  57. {spacr-0.0.61 → spacr-0.0.62}/tests/test_umap.py +0 -0
  58. {spacr-0.0.61 → spacr-0.0.62}/tests/test_utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: spacr
3
- Version: 0.0.61
3
+ Version: 0.0.62
4
4
  Summary: Spatial phenotype analysis of crisp screens (SpaCr)
5
5
  Home-page: https://github.com/EinarOlafsson/spacr
6
6
  Author: Einar Birnir Olafsson
@@ -56,7 +56,7 @@ dependencies = [
56
56
 
57
57
  setup(
58
58
  name="spacr",
59
- version="0.0.61",
59
+ version="0.0.62",
60
60
  author="Einar Birnir Olafsson",
61
61
  author_email="olafsson@med.umich.com",
62
62
  description="Spatial phenotype analysis of crisp screens (SpaCr)",
@@ -1,5 +1,6 @@
1
1
  from spacr.version import version, version_str
2
2
  import logging
3
+ import torch
3
4
 
4
5
  from . import core
5
6
  from . import io
@@ -11,7 +12,6 @@ from . import timelapse
11
12
  from . import deep_spacr
12
13
  from . import mask_app
13
14
  from . import annotate_app
14
- from . import graph_learning
15
15
  from . import gui_utils
16
16
  from . import gui_mask_app
17
17
  from . import gui_measure_app
@@ -28,7 +28,6 @@ __all__ = [
28
28
  "timelapse",
29
29
  "deep_spacr",
30
30
  "annotate_app",
31
- "graph_learning",
32
31
  "gui_utils",
33
32
  "mask_app",
34
33
  "gui_mask_app",
@@ -37,5 +36,13 @@ __all__ = [
37
36
  "logger"
38
37
  ]
39
38
 
39
+ # Check for CUDA GPU availability
40
+ if torch.cuda.is_available():
41
+ from . import graph_learning
42
+ __all__.append("graph_learning")
43
+ logging.info("CUDA GPU detected. Graph learning module loaded.")
44
+ else:
45
+ logging.info("No CUDA GPU detected. Graph learning module not loaded.")
46
+
40
47
  logging.basicConfig(filename='spacr.log', level=logging.INFO,
41
48
  format='%(asctime)s:%(levelname)s:%(message)s')
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: spacr
3
- Version: 0.0.61
3
+ Version: 0.0.62
4
4
  Summary: Spatial phenotype analysis of crisp screens (SpaCr)
5
5
  Home-page: https://github.com/EinarOlafsson/spacr
6
6
  Author: Einar Birnir Olafsson
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes