navigate-micro 0.0.1__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.
- navigate-micro-0.0.1/LICENSE.md +36 -0
- navigate-micro-0.0.1/MANIFEST.in +4 -0
- navigate-micro-0.0.1/PKG-INFO +146 -0
- navigate-micro-0.0.1/README.md +53 -0
- navigate-micro-0.0.1/pyproject.toml +79 -0
- navigate-micro-0.0.1/setup.cfg +4 -0
- navigate-micro-0.0.1/src/__init__.py +0 -0
- navigate-micro-0.0.1/src/navigate/__init__.py +2 -0
- navigate-micro-0.0.1/src/navigate/_commit.py +65 -0
- navigate-micro-0.0.1/src/navigate/_version.py +1 -0
- navigate-micro-0.0.1/src/navigate/config/__init__.py +2 -0
- navigate-micro-0.0.1/src/navigate/config/config.py +910 -0
- navigate-micro-0.0.1/src/navigate/config/configuration.yaml +521 -0
- navigate-micro-0.0.1/src/navigate/config/experiment.yml +73 -0
- navigate-micro-0.0.1/src/navigate/config/rest_api_config.yml +4 -0
- navigate-micro-0.0.1/src/navigate/config/synthetic_configuration.yaml +310 -0
- navigate-micro-0.0.1/src/navigate/config/waveform_constants.yml +219 -0
- navigate-micro-0.0.1/src/navigate/config/waveform_templates.yml +10 -0
- navigate-micro-0.0.1/src/navigate/controller/__init__.py +1 -0
- navigate-micro-0.0.1/src/navigate/controller/configuration_controller.py +399 -0
- navigate-micro-0.0.1/src/navigate/controller/controller.py +1205 -0
- navigate-micro-0.0.1/src/navigate/controller/sub_controllers/__init__.py +25 -0
- navigate-micro-0.0.1/src/navigate/controller/sub_controllers/acquire_bar_controller.py +542 -0
- navigate-micro-0.0.1/src/navigate/controller/sub_controllers/adaptiveoptics_popup_controller.py +399 -0
- navigate-micro-0.0.1/src/navigate/controller/sub_controllers/autofocus_popup_controller.py +243 -0
- navigate-micro-0.0.1/src/navigate/controller/sub_controllers/camera_map_setting_popup_controller.py +150 -0
- navigate-micro-0.0.1/src/navigate/controller/sub_controllers/camera_setting_controller.py +569 -0
- navigate-micro-0.0.1/src/navigate/controller/sub_controllers/camera_view_controller.py +1211 -0
- navigate-micro-0.0.1/src/navigate/controller/sub_controllers/channel_setting_controller.py +377 -0
- navigate-micro-0.0.1/src/navigate/controller/sub_controllers/channels_tab_controller.py +787 -0
- navigate-micro-0.0.1/src/navigate/controller/sub_controllers/feature_advanced_setting_controller.py +230 -0
- navigate-micro-0.0.1/src/navigate/controller/sub_controllers/features_popup_controller.py +707 -0
- navigate-micro-0.0.1/src/navigate/controller/sub_controllers/gui_controller.py +109 -0
- navigate-micro-0.0.1/src/navigate/controller/sub_controllers/help_popup_controller.py +69 -0
- navigate-micro-0.0.1/src/navigate/controller/sub_controllers/ilastik_popup_controller.py +243 -0
- navigate-micro-0.0.1/src/navigate/controller/sub_controllers/keystroke_controller.py +228 -0
- navigate-micro-0.0.1/src/navigate/controller/sub_controllers/menu_controller.py +965 -0
- navigate-micro-0.0.1/src/navigate/controller/sub_controllers/microscope_popup_controller.py +234 -0
- navigate-micro-0.0.1/src/navigate/controller/sub_controllers/multi_position_controller.py +316 -0
- navigate-micro-0.0.1/src/navigate/controller/sub_controllers/plugins_controller.py +190 -0
- navigate-micro-0.0.1/src/navigate/controller/sub_controllers/stage_controller.py +542 -0
- navigate-micro-0.0.1/src/navigate/controller/sub_controllers/tiling_wizard_controller.py +464 -0
- navigate-micro-0.0.1/src/navigate/controller/sub_controllers/tiling_wizard_controller2.py +557 -0
- navigate-micro-0.0.1/src/navigate/controller/sub_controllers/waveform_popup_controller.py +695 -0
- navigate-micro-0.0.1/src/navigate/controller/sub_controllers/waveform_tab_controller.py +328 -0
- navigate-micro-0.0.1/src/navigate/controller/sub_controllers/widget_functions.py +235 -0
- navigate-micro-0.0.1/src/navigate/controller/thread_pool.py +476 -0
- navigate-micro-0.0.1/src/navigate/log_files/__init__.py +1 -0
- navigate-micro-0.0.1/src/navigate/log_files/filters.py +99 -0
- navigate-micro-0.0.1/src/navigate/log_files/log_functions.py +205 -0
- navigate-micro-0.0.1/src/navigate/log_files/logging.yml +51 -0
- navigate-micro-0.0.1/src/navigate/log_files/model_logging.yml +51 -0
- navigate-micro-0.0.1/src/navigate/main.py +121 -0
- navigate-micro-0.0.1/src/navigate/model/__init__.py +1 -0
- navigate-micro-0.0.1/src/navigate/model/analysis/__init__.py +1 -0
- navigate-micro-0.0.1/src/navigate/model/analysis/boundary_detect.py +448 -0
- navigate-micro-0.0.1/src/navigate/model/analysis/camera.py +152 -0
- navigate-micro-0.0.1/src/navigate/model/analysis/image_contrast.py +72 -0
- navigate-micro-0.0.1/src/navigate/model/concurrency/__init__.py +1 -0
- navigate-micro-0.0.1/src/navigate/model/concurrency/concurrency_tools.py +721 -0
- navigate-micro-0.0.1/src/navigate/model/data_sources/__init__.py +36 -0
- navigate-micro-0.0.1/src/navigate/model/data_sources/bdv_data_source.py +575 -0
- navigate-micro-0.0.1/src/navigate/model/data_sources/data_source.py +356 -0
- navigate-micro-0.0.1/src/navigate/model/data_sources/tiff_data_source.py +316 -0
- navigate-micro-0.0.1/src/navigate/model/device_startup_functions.py +1278 -0
- navigate-micro-0.0.1/src/navigate/model/devices/APIs/__init__.py +1 -0
- navigate-micro-0.0.1/src/navigate/model/devices/APIs/asi/__init__.py +3 -0
- navigate-micro-0.0.1/src/navigate/model/devices/APIs/asi/asi_tiger_controller.py +798 -0
- navigate-micro-0.0.1/src/navigate/model/devices/APIs/coherent/ObisLaser.py +201 -0
- navigate-micro-0.0.1/src/navigate/model/devices/APIs/coherent/__init__.py +3 -0
- navigate-micro-0.0.1/src/navigate/model/devices/APIs/dynamixel/__init__.py +3 -0
- navigate-micro-0.0.1/src/navigate/model/devices/APIs/dynamixel/dynamixel_functions.py +322 -0
- navigate-micro-0.0.1/src/navigate/model/devices/APIs/hamamatsu/HamamatsuAPI.py +1379 -0
- navigate-micro-0.0.1/src/navigate/model/devices/APIs/hamamatsu/__init__.py +3 -0
- navigate-micro-0.0.1/src/navigate/model/devices/APIs/imagineoptics/__init__.py +3 -0
- navigate-micro-0.0.1/src/navigate/model/devices/APIs/imagineoptics/enums.py +28 -0
- navigate-micro-0.0.1/src/navigate/model/devices/APIs/imagineoptics/imop.py +1021 -0
- navigate-micro-0.0.1/src/navigate/model/devices/APIs/mcl/__init__.py +3 -0
- navigate-micro-0.0.1/src/navigate/model/devices/APIs/mcl/madlib.py +194 -0
- navigate-micro-0.0.1/src/navigate/model/devices/APIs/omicron/LuxxLaser.py +360 -0
- navigate-micro-0.0.1/src/navigate/model/devices/APIs/omicron/__init__.py +3 -0
- navigate-micro-0.0.1/src/navigate/model/devices/APIs/photometrics/PyVCAM-master/setup.py +109 -0
- navigate-micro-0.0.1/src/navigate/model/devices/APIs/photometrics/PyVCAM-master/src/constants_generator.py +272 -0
- navigate-micro-0.0.1/src/navigate/model/devices/APIs/photometrics/PyVCAM-master/src/pyvcam/__init__.py +0 -0
- navigate-micro-0.0.1/src/navigate/model/devices/APIs/photometrics/PyVCAM-master/src/pyvcam/camera.py +1118 -0
- navigate-micro-0.0.1/src/navigate/model/devices/APIs/photometrics/PyVCAM-master/src/pyvcam/constants.py +695 -0
- navigate-micro-0.0.1/src/navigate/model/devices/APIs/photometrics/PyVCAM-master/tests/camera_settings.py +13 -0
- navigate-micro-0.0.1/src/navigate/model/devices/APIs/photometrics/PyVCAM-master/tests/change_settings_test.py +41 -0
- navigate-micro-0.0.1/src/navigate/model/devices/APIs/photometrics/PyVCAM-master/tests/check_frame_status.py +81 -0
- navigate-micro-0.0.1/src/navigate/model/devices/APIs/photometrics/PyVCAM-master/tests/live_mode.py +77 -0
- navigate-micro-0.0.1/src/navigate/model/devices/APIs/photometrics/PyVCAM-master/tests/meta_data.py +39 -0
- navigate-micro-0.0.1/src/navigate/model/devices/APIs/photometrics/PyVCAM-master/tests/multi_camera.py +84 -0
- navigate-micro-0.0.1/src/navigate/model/devices/APIs/photometrics/PyVCAM-master/tests/multi_rois.py +61 -0
- navigate-micro-0.0.1/src/navigate/model/devices/APIs/photometrics/PyVCAM-master/tests/newest_frame.py +46 -0
- navigate-micro-0.0.1/src/navigate/model/devices/APIs/photometrics/PyVCAM-master/tests/seq_mode.py +58 -0
- navigate-micro-0.0.1/src/navigate/model/devices/APIs/photometrics/PyVCAM-master/tests/single_image_polling.py +18 -0
- navigate-micro-0.0.1/src/navigate/model/devices/APIs/photometrics/PyVCAM-master/tests/single_image_polling_show.py +17 -0
- navigate-micro-0.0.1/src/navigate/model/devices/APIs/photometrics/PyVCAM-master/tests/stream_to_disk.py +93 -0
- navigate-micro-0.0.1/src/navigate/model/devices/APIs/photometrics/PyVCAM-master/tests/sw_trigger.py +74 -0
- navigate-micro-0.0.1/src/navigate/model/devices/APIs/photometrics/PyVCAM-master/tests/test_camera.py +424 -0
- navigate-micro-0.0.1/src/navigate/model/devices/APIs/photometrics/__init__.py +3 -0
- navigate-micro-0.0.1/src/navigate/model/devices/APIs/sutter/MP285.py +538 -0
- navigate-micro-0.0.1/src/navigate/model/devices/APIs/sutter/__init__.py +3 -0
- navigate-micro-0.0.1/src/navigate/model/devices/APIs/thorlabs/__init__.py +3 -0
- navigate-micro-0.0.1/src/navigate/model/devices/APIs/thorlabs/kcube_inertial.py +572 -0
- navigate-micro-0.0.1/src/navigate/model/devices/__init__.py +12 -0
- navigate-micro-0.0.1/src/navigate/model/devices/camera/__init__.py +3 -0
- navigate-micro-0.0.1/src/navigate/model/devices/camera/camera_base.py +224 -0
- navigate-micro-0.0.1/src/navigate/model/devices/camera/camera_hamamatsu.py +655 -0
- navigate-micro-0.0.1/src/navigate/model/devices/camera/camera_photometrics.py +610 -0
- navigate-micro-0.0.1/src/navigate/model/devices/camera/camera_synthetic.py +328 -0
- navigate-micro-0.0.1/src/navigate/model/devices/daq/__init__.py +3 -0
- navigate-micro-0.0.1/src/navigate/model/devices/daq/daq_base.py +168 -0
- navigate-micro-0.0.1/src/navigate/model/devices/daq/daq_ni.py +518 -0
- navigate-micro-0.0.1/src/navigate/model/devices/daq/daq_synthetic.py +181 -0
- navigate-micro-0.0.1/src/navigate/model/devices/filter_wheel/__init__.py +3 -0
- navigate-micro-0.0.1/src/navigate/model/devices/filter_wheel/filter_wheel_asi.py +183 -0
- navigate-micro-0.0.1/src/navigate/model/devices/filter_wheel/filter_wheel_base.py +95 -0
- navigate-micro-0.0.1/src/navigate/model/devices/filter_wheel/filter_wheel_sutter.py +293 -0
- navigate-micro-0.0.1/src/navigate/model/devices/filter_wheel/filter_wheel_synthetic.py +107 -0
- navigate-micro-0.0.1/src/navigate/model/devices/galvo/__init__.py +3 -0
- navigate-micro-0.0.1/src/navigate/model/devices/galvo/galvo_base.py +217 -0
- navigate-micro-0.0.1/src/navigate/model/devices/galvo/galvo_ni.py +112 -0
- navigate-micro-0.0.1/src/navigate/model/devices/galvo/galvo_synthetic.py +65 -0
- navigate-micro-0.0.1/src/navigate/model/devices/lasers/__init__.py +3 -0
- navigate-micro-0.0.1/src/navigate/model/devices/lasers/laser_base.py +98 -0
- navigate-micro-0.0.1/src/navigate/model/devices/lasers/laser_ni.py +184 -0
- navigate-micro-0.0.1/src/navigate/model/devices/lasers/laser_synthetic.py +70 -0
- navigate-micro-0.0.1/src/navigate/model/devices/mirrors/__init__.py +3 -0
- navigate-micro-0.0.1/src/navigate/model/devices/mirrors/mirror_base.py +76 -0
- navigate-micro-0.0.1/src/navigate/model/devices/mirrors/mirror_imop.py +147 -0
- navigate-micro-0.0.1/src/navigate/model/devices/mirrors/mirror_synthetic.py +68 -0
- navigate-micro-0.0.1/src/navigate/model/devices/objectives.py +135 -0
- navigate-micro-0.0.1/src/navigate/model/devices/remote_focus/__init__.py +3 -0
- navigate-micro-0.0.1/src/navigate/model/devices/remote_focus/remote_focus_base.py +242 -0
- navigate-micro-0.0.1/src/navigate/model/devices/remote_focus/remote_focus_equipment_solutions.py +279 -0
- navigate-micro-0.0.1/src/navigate/model/devices/remote_focus/remote_focus_ni.py +120 -0
- navigate-micro-0.0.1/src/navigate/model/devices/remote_focus/remote_focus_synthetic.py +76 -0
- navigate-micro-0.0.1/src/navigate/model/devices/shutter/__init__.py +3 -0
- navigate-micro-0.0.1/src/navigate/model/devices/shutter/laser_shutter_base.py +84 -0
- navigate-micro-0.0.1/src/navigate/model/devices/shutter/laser_shutter_synthetic.py +62 -0
- navigate-micro-0.0.1/src/navigate/model/devices/shutter/laser_shutter_ttl.py +107 -0
- navigate-micro-0.0.1/src/navigate/model/devices/stages/__init__.py +3 -0
- navigate-micro-0.0.1/src/navigate/model/devices/stages/stage_asi.py +515 -0
- navigate-micro-0.0.1/src/navigate/model/devices/stages/stage_base.py +216 -0
- navigate-micro-0.0.1/src/navigate/model/devices/stages/stage_galvo.py +386 -0
- navigate-micro-0.0.1/src/navigate/model/devices/stages/stage_mcl.py +188 -0
- navigate-micro-0.0.1/src/navigate/model/devices/stages/stage_pi.py +286 -0
- navigate-micro-0.0.1/src/navigate/model/devices/stages/stage_sutter.py +285 -0
- navigate-micro-0.0.1/src/navigate/model/devices/stages/stage_synthetic.py +242 -0
- navigate-micro-0.0.1/src/navigate/model/devices/stages/stage_tl_kcube_inertial.py +237 -0
- navigate-micro-0.0.1/src/navigate/model/devices/zoom/__init__.py +3 -0
- navigate-micro-0.0.1/src/navigate/model/devices/zoom/zoom_base.py +160 -0
- navigate-micro-0.0.1/src/navigate/model/devices/zoom/zoom_dynamixel.py +253 -0
- navigate-micro-0.0.1/src/navigate/model/devices/zoom/zoom_synthetic.py +68 -0
- navigate-micro-0.0.1/src/navigate/model/dummy.py +569 -0
- navigate-micro-0.0.1/src/navigate/model/features/__init__.py +3 -0
- navigate-micro-0.0.1/src/navigate/model/features/adaptive_optics.py +667 -0
- navigate-micro-0.0.1/src/navigate/model/features/auto_tile_scan.py +206 -0
- navigate-micro-0.0.1/src/navigate/model/features/autofocus.py +537 -0
- navigate-micro-0.0.1/src/navigate/model/features/common_features.py +1433 -0
- navigate-micro-0.0.1/src/navigate/model/features/cva_conpro.py +535 -0
- navigate-micro-0.0.1/src/navigate/model/features/feature_container.py +1080 -0
- navigate-micro-0.0.1/src/navigate/model/features/feature_related_functions.py +391 -0
- navigate-micro-0.0.1/src/navigate/model/features/image_writer.py +374 -0
- navigate-micro-0.0.1/src/navigate/model/features/remove_empty_tiles.py +526 -0
- navigate-micro-0.0.1/src/navigate/model/features/restful_features.py +256 -0
- navigate-micro-0.0.1/src/navigate/model/features/volume_search.py +463 -0
- navigate-micro-0.0.1/src/navigate/model/metadata_sources/__init__.py +3 -0
- navigate-micro-0.0.1/src/navigate/model/metadata_sources/bdv_metadata.py +534 -0
- navigate-micro-0.0.1/src/navigate/model/metadata_sources/metadata.py +326 -0
- navigate-micro-0.0.1/src/navigate/model/metadata_sources/ome_tiff_metadata.py +261 -0
- navigate-micro-0.0.1/src/navigate/model/microscope.py +905 -0
- navigate-micro-0.0.1/src/navigate/model/model.py +1431 -0
- navigate-micro-0.0.1/src/navigate/model/plugins_model.py +168 -0
- navigate-micro-0.0.1/src/navigate/model/waveforms.py +405 -0
- navigate-micro-0.0.1/src/navigate/plugins/ConfocalProjectionPlugin/__init__.py +3 -0
- navigate-micro-0.0.1/src/navigate/plugins/ConfocalProjectionPlugin/confocal_projection_acquisition.py +55 -0
- navigate-micro-0.0.1/src/navigate/plugins/ConfocalProjectionPlugin/controller/confocal_projection_controller.py +169 -0
- navigate-micro-0.0.1/src/navigate/plugins/ConfocalProjectionPlugin/example_plugin_acquisition_mode.py +60 -0
- navigate-micro-0.0.1/src/navigate/plugins/ConfocalProjectionPlugin/feature_list.py +43 -0
- navigate-micro-0.0.1/src/navigate/plugins/ConfocalProjectionPlugin/model/features/confocal_projection.py +246 -0
- navigate-micro-0.0.1/src/navigate/plugins/ConfocalProjectionPlugin/plugin_config.yml +6 -0
- navigate-micro-0.0.1/src/navigate/plugins/ConfocalProjectionPlugin/view/confocal_projection_frame.py +174 -0
- navigate-micro-0.0.1/src/navigate/plugins/DevicePluginExample/__init__.py +3 -0
- navigate-micro-0.0.1/src/navigate/plugins/DevicePluginExample/controller/__init__.py +0 -0
- navigate-micro-0.0.1/src/navigate/plugins/DevicePluginExample/controller/custom_device_controller.py +61 -0
- navigate-micro-0.0.1/src/navigate/plugins/DevicePluginExample/model/__init__.py +3 -0
- navigate-micro-0.0.1/src/navigate/plugins/DevicePluginExample/model/devices/__init__.py +3 -0
- navigate-micro-0.0.1/src/navigate/plugins/DevicePluginExample/model/devices/custom_device/__init__.py +3 -0
- navigate-micro-0.0.1/src/navigate/plugins/DevicePluginExample/model/devices/custom_device/custom_device.py +55 -0
- navigate-micro-0.0.1/src/navigate/plugins/DevicePluginExample/model/devices/custom_device/custom_synthetic.py +52 -0
- navigate-micro-0.0.1/src/navigate/plugins/DevicePluginExample/model/devices/custom_device/device_startup_functions.py +71 -0
- navigate-micro-0.0.1/src/navigate/plugins/DevicePluginExample/plugin_config.yml +8 -0
- navigate-micro-0.0.1/src/navigate/plugins/DevicePluginExample/view/__init__.py +3 -0
- navigate-micro-0.0.1/src/navigate/plugins/DevicePluginExample/view/custom_device_frame.py +121 -0
- navigate-micro-0.0.1/src/navigate/plugins/NewStagePluginExample/__init__.py +3 -0
- navigate-micro-0.0.1/src/navigate/plugins/NewStagePluginExample/model/__init__.py +3 -0
- navigate-micro-0.0.1/src/navigate/plugins/NewStagePluginExample/model/devices/__init__.py +3 -0
- navigate-micro-0.0.1/src/navigate/plugins/NewStagePluginExample/model/devices/stages/__init__.py +3 -0
- navigate-micro-0.0.1/src/navigate/plugins/NewStagePluginExample/model/devices/stages/custom_stage.py +139 -0
- navigate-micro-0.0.1/src/navigate/plugins/NewStagePluginExample/model/devices/stages/device_startup_functions.py +70 -0
- navigate-micro-0.0.1/src/navigate/plugins/NewStagePluginExample/plugin_config.yml +20 -0
- navigate-micro-0.0.1/src/navigate/plugins/__init__.py +1 -0
- navigate-micro-0.0.1/src/navigate/tools/__init__.py +1 -0
- navigate-micro-0.0.1/src/navigate/tools/common_dict_tools.py +50 -0
- navigate-micro-0.0.1/src/navigate/tools/common_functions.py +139 -0
- navigate-micro-0.0.1/src/navigate/tools/decorators.py +76 -0
- navigate-micro-0.0.1/src/navigate/tools/file_functions.py +202 -0
- navigate-micro-0.0.1/src/navigate/tools/image.py +115 -0
- navigate-micro-0.0.1/src/navigate/tools/linear_algebra.py +170 -0
- navigate-micro-0.0.1/src/navigate/tools/main_functions.py +227 -0
- navigate-micro-0.0.1/src/navigate/tools/multipos_table_tools.py +239 -0
- navigate-micro-0.0.1/src/navigate/tools/sdf.py +110 -0
- navigate-micro-0.0.1/src/navigate/tools/waveform_template_funcs.py +83 -0
- navigate-micro-0.0.1/src/navigate/tools/xml_tools.py +127 -0
- navigate-micro-0.0.1/src/navigate/view/__init__.py +1 -0
- navigate-micro-0.0.1/src/navigate/view/custom_widgets/ArrowLabel.py +80 -0
- navigate-micro-0.0.1/src/navigate/view/custom_widgets/DockableNotebook.py +189 -0
- navigate-micro-0.0.1/src/navigate/view/custom_widgets/LabelInputWidgetFactory.py +308 -0
- navigate-micro-0.0.1/src/navigate/view/custom_widgets/__init__.py +3 -0
- navigate-micro-0.0.1/src/navigate/view/custom_widgets/hover.py +228 -0
- navigate-micro-0.0.1/src/navigate/view/custom_widgets/hoverbar.py +256 -0
- navigate-micro-0.0.1/src/navigate/view/custom_widgets/hovermixin.py +137 -0
- navigate-micro-0.0.1/src/navigate/view/custom_widgets/popup.py +152 -0
- navigate-micro-0.0.1/src/navigate/view/custom_widgets/scrollbars.py +133 -0
- navigate-micro-0.0.1/src/navigate/view/custom_widgets/validation.py +1075 -0
- navigate-micro-0.0.1/src/navigate/view/icon/mic.ico +0 -0
- navigate-micro-0.0.1/src/navigate/view/icon/mic.png +0 -0
- navigate-micro-0.0.1/src/navigate/view/icon/mic_orig.png +0 -0
- navigate-micro-0.0.1/src/navigate/view/icon/splash_screen_image.png +0 -0
- navigate-micro-0.0.1/src/navigate/view/main_application_window.py +169 -0
- navigate-micro-0.0.1/src/navigate/view/main_window_content/__init__.py +3 -0
- navigate-micro-0.0.1/src/navigate/view/main_window_content/acquire_notebook.py +127 -0
- navigate-micro-0.0.1/src/navigate/view/main_window_content/camera_tab.py +515 -0
- navigate-micro-0.0.1/src/navigate/view/main_window_content/channels_tab.py +810 -0
- navigate-micro-0.0.1/src/navigate/view/main_window_content/display_notebook.py +580 -0
- navigate-micro-0.0.1/src/navigate/view/main_window_content/images/greydown.png +0 -0
- navigate-micro-0.0.1/src/navigate/view/main_window_content/images/greydown_disabled.png +0 -0
- navigate-micro-0.0.1/src/navigate/view/main_window_content/images/greyleft.png +0 -0
- navigate-micro-0.0.1/src/navigate/view/main_window_content/images/greyleft_disabled.png +0 -0
- navigate-micro-0.0.1/src/navigate/view/main_window_content/images/greyright.png +0 -0
- navigate-micro-0.0.1/src/navigate/view/main_window_content/images/greyright_disabled.png +0 -0
- navigate-micro-0.0.1/src/navigate/view/main_window_content/images/greyup.png +0 -0
- navigate-micro-0.0.1/src/navigate/view/main_window_content/images/greyup_disabled.png +0 -0
- navigate-micro-0.0.1/src/navigate/view/main_window_content/images/wa_right.png +0 -0
- navigate-micro-0.0.1/src/navigate/view/main_window_content/menus.py +103 -0
- navigate-micro-0.0.1/src/navigate/view/main_window_content/multiposition_tab.py +441 -0
- navigate-micro-0.0.1/src/navigate/view/main_window_content/settings_notebook.py +109 -0
- navigate-micro-0.0.1/src/navigate/view/main_window_content/stage_tab.py +906 -0
- navigate-micro-0.0.1/src/navigate/view/popups/__init__.py +3 -0
- navigate-micro-0.0.1/src/navigate/view/popups/acquire_popup.py +218 -0
- navigate-micro-0.0.1/src/navigate/view/popups/adaptiveoptics_popup.py +390 -0
- navigate-micro-0.0.1/src/navigate/view/popups/autofocus_setting_popup.py +206 -0
- navigate-micro-0.0.1/src/navigate/view/popups/camera_map_setting_popup.py +126 -0
- navigate-micro-0.0.1/src/navigate/view/popups/camera_view_popup_window.py +142 -0
- navigate-micro-0.0.1/src/navigate/view/popups/feature_list_popup.py +500 -0
- navigate-micro-0.0.1/src/navigate/view/popups/help_popup.py +140 -0
- navigate-micro-0.0.1/src/navigate/view/popups/ilastik_setting_popup.py +156 -0
- navigate-micro-0.0.1/src/navigate/view/popups/microscope_setting_popup_window.py +213 -0
- navigate-micro-0.0.1/src/navigate/view/popups/tiling_wizard_popup.py +236 -0
- navigate-micro-0.0.1/src/navigate/view/popups/tiling_wizard_popup2.py +256 -0
- navigate-micro-0.0.1/src/navigate/view/popups/waveform_parameter_popup_window.py +306 -0
- navigate-micro-0.0.1/src/navigate/view/splash_screen.py +90 -0
- navigate-micro-0.0.1/src/navigate_micro.egg-info/PKG-INFO +146 -0
- navigate-micro-0.0.1/src/navigate_micro.egg-info/SOURCES.txt +270 -0
- navigate-micro-0.0.1/src/navigate_micro.egg-info/dependency_links.txt +1 -0
- navigate-micro-0.0.1/src/navigate_micro.egg-info/entry_points.txt +2 -0
- navigate-micro-0.0.1/src/navigate_micro.egg-info/requires.txt +46 -0
- navigate-micro-0.0.1/src/navigate_micro.egg-info/top_level.txt +2 -0
- navigate-micro-0.0.1/test/test_commit.py +46 -0
- navigate-micro-0.0.1/test/test_main.py +70 -0
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
Copyright (c) 2021-2023 The University of Texas Southwestern Medical Center.
|
|
2
|
+
|
|
3
|
+
All rights reserved.
|
|
4
|
+
|
|
5
|
+
Redistribution and use in source and binary forms, with or without modification, are
|
|
6
|
+
permitted for academic research use only (subject to the limitations in the
|
|
7
|
+
disclaimer below) provided that the following conditions are met:
|
|
8
|
+
|
|
9
|
+
* Redistributions of source code must retain the above copyright notice, this
|
|
10
|
+
list of conditions and the following disclaimer.
|
|
11
|
+
|
|
12
|
+
* Redistributions in binary form must reproduce the above copyright notice, this
|
|
13
|
+
list of conditions and the following disclaimer in the documentation and/or other
|
|
14
|
+
materials provided with the distribution.
|
|
15
|
+
|
|
16
|
+
* Neither the name of the copyright holders nor the names of its contributors may
|
|
17
|
+
be used to endorse or promote products derived from this software without
|
|
18
|
+
specific prior written permission.
|
|
19
|
+
|
|
20
|
+
ANY USE OR REDISTRIBUTION OF THIS SOFTWARE FOR COMMERCIAL PURPOSES, WHETHER IN SOURCE
|
|
21
|
+
OR BINARY FORM, WITH OR WITHOUT MODIFICATION, IS EXPRESSLY PROHIBITED; ANY USE OR
|
|
22
|
+
REDISTRIBUTION BY A FOR-PROFIT ENTITY SHALL COMPRISE USE OR REDISTRIBUTION FOR
|
|
23
|
+
COMMERCIAL PURPOSES.
|
|
24
|
+
|
|
25
|
+
NO EXPRESS OR IMPLIED LICENSES TO ANY PARTY'S PATENT RIGHTS ARE GRANTED BY THIS
|
|
26
|
+
LICENSE. THIS SOFTWARE, AND ANY ACCOMPANYING DOCUMENTATION, IS PROVIDED BY THE
|
|
27
|
+
COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
|
28
|
+
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
|
|
29
|
+
FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
|
|
30
|
+
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
|
31
|
+
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
32
|
+
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
|
|
33
|
+
AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
34
|
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
|
35
|
+
SOFTWARE OR ANY OF ITS ACCOMPANYING DOCUMENTATION, EVEN IF ADVISED OF THE POSSIBILITY
|
|
36
|
+
OF SUCH DAMAGE.
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: navigate-micro
|
|
3
|
+
Version: 0.0.1
|
|
4
|
+
Summary: Open source, smart, light-sheet microscopy control software.
|
|
5
|
+
Author: The Dean Lab, UT Southwestern Medical Center
|
|
6
|
+
License: Copyright (c) 2021-2023 The University of Texas Southwestern Medical Center.
|
|
7
|
+
|
|
8
|
+
All rights reserved.
|
|
9
|
+
|
|
10
|
+
Redistribution and use in source and binary forms, with or without modification, are
|
|
11
|
+
permitted for academic research use only (subject to the limitations in the
|
|
12
|
+
disclaimer below) provided that the following conditions are met:
|
|
13
|
+
|
|
14
|
+
* Redistributions of source code must retain the above copyright notice, this
|
|
15
|
+
list of conditions and the following disclaimer.
|
|
16
|
+
|
|
17
|
+
* Redistributions in binary form must reproduce the above copyright notice, this
|
|
18
|
+
list of conditions and the following disclaimer in the documentation and/or other
|
|
19
|
+
materials provided with the distribution.
|
|
20
|
+
|
|
21
|
+
* Neither the name of the copyright holders nor the names of its contributors may
|
|
22
|
+
be used to endorse or promote products derived from this software without
|
|
23
|
+
specific prior written permission.
|
|
24
|
+
|
|
25
|
+
ANY USE OR REDISTRIBUTION OF THIS SOFTWARE FOR COMMERCIAL PURPOSES, WHETHER IN SOURCE
|
|
26
|
+
OR BINARY FORM, WITH OR WITHOUT MODIFICATION, IS EXPRESSLY PROHIBITED; ANY USE OR
|
|
27
|
+
REDISTRIBUTION BY A FOR-PROFIT ENTITY SHALL COMPRISE USE OR REDISTRIBUTION FOR
|
|
28
|
+
COMMERCIAL PURPOSES.
|
|
29
|
+
|
|
30
|
+
NO EXPRESS OR IMPLIED LICENSES TO ANY PARTY'S PATENT RIGHTS ARE GRANTED BY THIS
|
|
31
|
+
LICENSE. THIS SOFTWARE, AND ANY ACCOMPANYING DOCUMENTATION, IS PROVIDED BY THE
|
|
32
|
+
COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
|
33
|
+
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
|
|
34
|
+
FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
|
|
35
|
+
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
|
36
|
+
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
37
|
+
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
|
|
38
|
+
AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
39
|
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
|
40
|
+
SOFTWARE OR ANY OF ITS ACCOMPANYING DOCUMENTATION, EVEN IF ADVISED OF THE POSSIBILITY
|
|
41
|
+
OF SUCH DAMAGE.
|
|
42
|
+
|
|
43
|
+
Project-URL: Source, https://github.com/TheDeanLab/navigate
|
|
44
|
+
Classifier: Intended Audience :: Developers
|
|
45
|
+
Classifier: Operating System :: POSIX :: Linux
|
|
46
|
+
Classifier: Operating System :: MacOS :: MacOS X
|
|
47
|
+
Classifier: Operating System :: Microsoft :: Windows
|
|
48
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
49
|
+
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
50
|
+
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
|
51
|
+
Requires-Python: >=3.9.7
|
|
52
|
+
Description-Content-Type: text/markdown
|
|
53
|
+
License-File: LICENSE.md
|
|
54
|
+
Requires-Dist: matplotlib-inline==0.1.3
|
|
55
|
+
Requires-Dist: PyYAML==6.0
|
|
56
|
+
Requires-Dist: pyserial==3.5
|
|
57
|
+
Requires-Dist: PIPython==2.6.0.1
|
|
58
|
+
Requires-Dist: nidaqmx==0.5.7
|
|
59
|
+
Requires-Dist: tifffile==2021.11.2
|
|
60
|
+
Requires-Dist: scipy==1.7.3
|
|
61
|
+
Requires-Dist: pyusb==1.2.1
|
|
62
|
+
Requires-Dist: pandas==1.3.5
|
|
63
|
+
Requires-Dist: pandastable==0.12.2.post1
|
|
64
|
+
Requires-Dist: opencv-python==4.5.5.62
|
|
65
|
+
Requires-Dist: numpy==1.22.0; sys_platform != "darwin"
|
|
66
|
+
Requires-Dist: numpy==1.21.6; sys_platform == "darwin"
|
|
67
|
+
Requires-Dist: scikit-image==0.19.1
|
|
68
|
+
Requires-Dist: zarr==2.14.2
|
|
69
|
+
Requires-Dist: fsspec==2022.8.2; sys_platform != "darwin"
|
|
70
|
+
Requires-Dist: fsspec==2022.5.0; sys_platform == "darwin"
|
|
71
|
+
Requires-Dist: h5py==3.7.0
|
|
72
|
+
Requires-Dist: requests==2.28.1
|
|
73
|
+
Provides-Extra: dev
|
|
74
|
+
Requires-Dist: pytest; extra == "dev"
|
|
75
|
+
Requires-Dist: pytest-xvfb; extra == "dev"
|
|
76
|
+
Requires-Dist: pytest-cov; extra == "dev"
|
|
77
|
+
Requires-Dist: pre-commit; extra == "dev"
|
|
78
|
+
Requires-Dist: ipykernel; extra == "dev"
|
|
79
|
+
Requires-Dist: jupyterlab; extra == "dev"
|
|
80
|
+
Provides-Extra: docs
|
|
81
|
+
Requires-Dist: numpydoc; extra == "docs"
|
|
82
|
+
Requires-Dist: nbconvert; extra == "docs"
|
|
83
|
+
Requires-Dist: sphinx<6.0.0; extra == "docs"
|
|
84
|
+
Requires-Dist: sphinx_rtd_theme; extra == "docs"
|
|
85
|
+
Requires-Dist: sphinx-copybutton; extra == "docs"
|
|
86
|
+
Requires-Dist: sphinx-issues; extra == "docs"
|
|
87
|
+
Requires-Dist: sphinx-design; extra == "docs"
|
|
88
|
+
Requires-Dist: pyyaml; extra == "docs"
|
|
89
|
+
Requires-Dist: pydata_sphinx_theme==0.10.0rc2; extra == "docs"
|
|
90
|
+
Requires-Dist: sphinx-toolbox; extra == "docs"
|
|
91
|
+
Provides-Extra: robot
|
|
92
|
+
Requires-Dist: mecademicpy; extra == "robot"
|
|
93
|
+
|
|
94
|
+
<h1 align="center">
|
|
95
|
+
<img src="./src/navigate/view/icon/mic.ico?raw=true" />
|
|
96
|
+
|
|
97
|
+
navigate
|
|
98
|
+
<h2 align="center">
|
|
99
|
+
open source light sheet microscope control
|
|
100
|
+
</h2>
|
|
101
|
+
</h1>
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
[](https://github.com/TheDeanLab/navigate/actions/workflows/push_checks.yaml)
|
|
105
|
+
[](https://codecov.io/gh/TheDeanLab/navigate)
|
|
106
|
+
|
|
107
|
+
Navigate is an open source Python package for control of light-sheet microscopes. It allows for easily reconfigurable hardware setups and automated acquisition rotuines.
|
|
108
|
+
|
|
109
|
+
### Quick install
|
|
110
|
+
|
|
111
|
+
Download and install [Miniconda](https://docs.conda.io/en/latest/miniconda.html#latest-miniconda-installer-links).
|
|
112
|
+
|
|
113
|
+
```
|
|
114
|
+
conda create -n navigate python=3.9.7
|
|
115
|
+
conda activate navigate
|
|
116
|
+
pip install git+https://github.com/TheDeanLab/navigate.git
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
To test, run `conda activate navigate` and launch in synthetic hardware mode with `navigate
|
|
120
|
+
-sh`. Developers will have to install additional dependencies with
|
|
121
|
+
`pip install -e '.[dev]'`.
|
|
122
|
+
### Documentation
|
|
123
|
+
Please refer to and contribute to the documentation, which can be found on GitHub Pages: [https://thedeanlab.github.io/navigate/](https://thedeanlab.github.io/navigate/).
|
|
124
|
+
|
|
125
|
+
### Command Line Arguments
|
|
126
|
+
|
|
127
|
+
* optional arguments:
|
|
128
|
+
* -h, --help show this help message and exit
|
|
129
|
+
|
|
130
|
+
* Input Arguments:
|
|
131
|
+
* -sh, --synthetic_hardware
|
|
132
|
+
* --config_file CONFIG_FILE
|
|
133
|
+
* --experiment_file EXPERIMENT_FILE
|
|
134
|
+
* --etl_const_file ETL_CONST_FILE
|
|
135
|
+
* --rest_api_file REST_API_FILE
|
|
136
|
+
* --logging_config LOGGING_CONFIG
|
|
137
|
+
|
|
138
|
+
### Authors
|
|
139
|
+
* Kevin Dean
|
|
140
|
+
* Zach Marin
|
|
141
|
+
* Xiaoding 'Annie' Wang
|
|
142
|
+
* Dax Collison
|
|
143
|
+
* Sampath Rapuri
|
|
144
|
+
* Samir Mamtani
|
|
145
|
+
* Renil Gupta
|
|
146
|
+
* Andrew Jamieson
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
<h1 align="center">
|
|
2
|
+
<img src="./src/navigate/view/icon/mic.ico?raw=true" />
|
|
3
|
+
|
|
4
|
+
navigate
|
|
5
|
+
<h2 align="center">
|
|
6
|
+
open source light sheet microscope control
|
|
7
|
+
</h2>
|
|
8
|
+
</h1>
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
[](https://github.com/TheDeanLab/navigate/actions/workflows/push_checks.yaml)
|
|
12
|
+
[](https://codecov.io/gh/TheDeanLab/navigate)
|
|
13
|
+
|
|
14
|
+
Navigate is an open source Python package for control of light-sheet microscopes. It allows for easily reconfigurable hardware setups and automated acquisition rotuines.
|
|
15
|
+
|
|
16
|
+
### Quick install
|
|
17
|
+
|
|
18
|
+
Download and install [Miniconda](https://docs.conda.io/en/latest/miniconda.html#latest-miniconda-installer-links).
|
|
19
|
+
|
|
20
|
+
```
|
|
21
|
+
conda create -n navigate python=3.9.7
|
|
22
|
+
conda activate navigate
|
|
23
|
+
pip install git+https://github.com/TheDeanLab/navigate.git
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
To test, run `conda activate navigate` and launch in synthetic hardware mode with `navigate
|
|
27
|
+
-sh`. Developers will have to install additional dependencies with
|
|
28
|
+
`pip install -e '.[dev]'`.
|
|
29
|
+
### Documentation
|
|
30
|
+
Please refer to and contribute to the documentation, which can be found on GitHub Pages: [https://thedeanlab.github.io/navigate/](https://thedeanlab.github.io/navigate/).
|
|
31
|
+
|
|
32
|
+
### Command Line Arguments
|
|
33
|
+
|
|
34
|
+
* optional arguments:
|
|
35
|
+
* -h, --help show this help message and exit
|
|
36
|
+
|
|
37
|
+
* Input Arguments:
|
|
38
|
+
* -sh, --synthetic_hardware
|
|
39
|
+
* --config_file CONFIG_FILE
|
|
40
|
+
* --experiment_file EXPERIMENT_FILE
|
|
41
|
+
* --etl_const_file ETL_CONST_FILE
|
|
42
|
+
* --rest_api_file REST_API_FILE
|
|
43
|
+
* --logging_config LOGGING_CONFIG
|
|
44
|
+
|
|
45
|
+
### Authors
|
|
46
|
+
* Kevin Dean
|
|
47
|
+
* Zach Marin
|
|
48
|
+
* Xiaoding 'Annie' Wang
|
|
49
|
+
* Dax Collison
|
|
50
|
+
* Sampath Rapuri
|
|
51
|
+
* Samir Mamtani
|
|
52
|
+
* Renil Gupta
|
|
53
|
+
* Andrew Jamieson
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["setuptools>=43.0.0", "wheel"]
|
|
3
|
+
build-backend = "setuptools.build_meta"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "navigate-micro"
|
|
7
|
+
description = "Open source, smart, light-sheet microscopy control software."
|
|
8
|
+
authors = [{name = "The Dean Lab, UT Southwestern Medical Center"}]
|
|
9
|
+
readme = "README.md"
|
|
10
|
+
license = {file = "LICENSE.md"}
|
|
11
|
+
dynamic = ["version"]
|
|
12
|
+
classifiers = [
|
|
13
|
+
"Intended Audience :: Developers",
|
|
14
|
+
"Operating System :: POSIX :: Linux",
|
|
15
|
+
"Operating System :: MacOS :: MacOS X",
|
|
16
|
+
"Operating System :: Microsoft :: Windows",
|
|
17
|
+
"Programming Language :: Python :: 3.9",
|
|
18
|
+
"Programming Language :: Python :: Implementation :: CPython",
|
|
19
|
+
"Programming Language :: Python :: Implementation :: PyPy",
|
|
20
|
+
]
|
|
21
|
+
|
|
22
|
+
requires-python = ">=3.9.7"
|
|
23
|
+
dependencies = [
|
|
24
|
+
'matplotlib-inline==0.1.3',
|
|
25
|
+
'PyYAML==6.0',
|
|
26
|
+
'pyserial==3.5',
|
|
27
|
+
'PIPython==2.6.0.1',
|
|
28
|
+
'nidaqmx==0.5.7',
|
|
29
|
+
'tifffile==2021.11.2',
|
|
30
|
+
'scipy==1.7.3',
|
|
31
|
+
'pyusb==1.2.1',
|
|
32
|
+
'pandas==1.3.5',
|
|
33
|
+
'pandastable==0.12.2.post1',
|
|
34
|
+
'opencv-python==4.5.5.62',
|
|
35
|
+
'numpy==1.22.0; sys_platform != "darwin"',
|
|
36
|
+
'numpy==1.21.6; sys_platform == "darwin"',
|
|
37
|
+
'scikit-image==0.19.1',
|
|
38
|
+
'zarr==2.14.2',
|
|
39
|
+
'fsspec==2022.8.2; sys_platform != "darwin"',
|
|
40
|
+
'fsspec==2022.5.0; sys_platform == "darwin"',
|
|
41
|
+
'h5py==3.7.0',
|
|
42
|
+
'requests==2.28.1'
|
|
43
|
+
]
|
|
44
|
+
|
|
45
|
+
[project.scripts]
|
|
46
|
+
navigate = "navigate.main:main"
|
|
47
|
+
|
|
48
|
+
[project.optional-dependencies]
|
|
49
|
+
dev = [
|
|
50
|
+
"pytest",
|
|
51
|
+
"pytest-xvfb",
|
|
52
|
+
"pytest-cov",
|
|
53
|
+
"pre-commit",
|
|
54
|
+
"ipykernel",
|
|
55
|
+
"jupyterlab",
|
|
56
|
+
]
|
|
57
|
+
|
|
58
|
+
docs = [
|
|
59
|
+
"numpydoc",
|
|
60
|
+
"nbconvert",
|
|
61
|
+
"sphinx<6.0.0",
|
|
62
|
+
"sphinx_rtd_theme",
|
|
63
|
+
"sphinx-copybutton",
|
|
64
|
+
"sphinx-issues",
|
|
65
|
+
"sphinx-design",
|
|
66
|
+
"pyyaml",
|
|
67
|
+
"pydata_sphinx_theme==0.10.0rc2",
|
|
68
|
+
"sphinx-toolbox"
|
|
69
|
+
]
|
|
70
|
+
|
|
71
|
+
robot = [
|
|
72
|
+
"mecademicpy",
|
|
73
|
+
]
|
|
74
|
+
|
|
75
|
+
[project.urls]
|
|
76
|
+
Source = "https://github.com/TheDeanLab/navigate"
|
|
77
|
+
|
|
78
|
+
[tool.setuptools.dynamic]
|
|
79
|
+
version = {attr = "navigate.__version__"}
|
|
File without changes
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
# Copyright (c) 2021-2022 The University of Texas Southwestern Medical Center.
|
|
2
|
+
# All rights reserved.
|
|
3
|
+
|
|
4
|
+
# Redistribution and use in source and binary forms, with or without
|
|
5
|
+
# modification, are permitted for academic and research use only
|
|
6
|
+
# (subject to the limitations in the disclaimer below)
|
|
7
|
+
# provided that the following conditions are met:
|
|
8
|
+
|
|
9
|
+
# * Redistributions of source code must retain the above copyright notice,
|
|
10
|
+
# this list of conditions and the following disclaimer.
|
|
11
|
+
|
|
12
|
+
# * Redistributions in binary form must reproduce the above copyright
|
|
13
|
+
# notice, this list of conditions and the following disclaimer in the
|
|
14
|
+
# documentation and/or other materials provided with the distribution.
|
|
15
|
+
|
|
16
|
+
# * Neither the name of the copyright holders nor the names of its
|
|
17
|
+
# contributors may be used to endorse or promote products derived from this
|
|
18
|
+
# software without specific prior written permission.
|
|
19
|
+
|
|
20
|
+
# NO EXPRESS OR IMPLIED LICENSES TO ANY PARTY'S PATENT RIGHTS ARE GRANTED BY
|
|
21
|
+
# THIS LICENSE. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
|
|
22
|
+
# CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
23
|
+
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
|
|
24
|
+
# PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
|
|
25
|
+
# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
|
26
|
+
# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
|
27
|
+
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
|
|
28
|
+
# BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
|
|
29
|
+
# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
|
30
|
+
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
|
31
|
+
# POSSIBILITY OF SUCH DAMAGE.
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
# Standard Library Imports
|
|
35
|
+
import os
|
|
36
|
+
import subprocess
|
|
37
|
+
|
|
38
|
+
# Third Party Imports
|
|
39
|
+
|
|
40
|
+
# Local Imports
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
def get_git_revision_hash() -> str:
|
|
44
|
+
"""
|
|
45
|
+
TODO: This should not be dynamic. A packaged version will still have an
|
|
46
|
+
associated commit, but won't be an active git repo. The hash should be
|
|
47
|
+
stored in a file like in __version__ and bumped with each commit.
|
|
48
|
+
"""
|
|
49
|
+
# print("before subprocess")
|
|
50
|
+
# we don't want to move the user, so we'll return to the directory
|
|
51
|
+
working_directory = os.getcwd()
|
|
52
|
+
# we need to check for the git commit inside of the cloned git folder,
|
|
53
|
+
# should this have been derived from a git commit
|
|
54
|
+
file_directory = os.path.abspath(os.path.dirname(__file__))
|
|
55
|
+
os.chdir(file_directory)
|
|
56
|
+
# call the hash
|
|
57
|
+
hash = subprocess.check_output(["git", "rev-parse", "HEAD"]).decode("ascii").strip()
|
|
58
|
+
os.chdir(working_directory) # restore directory
|
|
59
|
+
return hash
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
try:
|
|
63
|
+
__commit__ = get_git_revision_hash()
|
|
64
|
+
except Exception: # noqa
|
|
65
|
+
__commit__ = "unknown"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.0.1"
|