forked from IPKM/nmreval
		
	add nmreval to sys.path; arrow icon;
This commit is contained in:
		| @@ -1,8 +1,11 @@ | |||||||
| #!/usr/bin/env python3 | #!/usr/bin/env python3 | ||||||
|  |  | ||||||
| import sys | import sys | ||||||
|  | import pathlib | ||||||
|  | sys.path.append(pathlib.Path().cwd().parent) | ||||||
|  | print(sys.path) | ||||||
| # pyqtgraph warns on Mac if QApplication is created when it is imported | # pyqtgraph warns on Mac if QApplication is created when it is imported | ||||||
| import pyqtgraph | # import pyqtgraph | ||||||
|  |  | ||||||
| from nmreval.lib.logger import handle_exception | from nmreval.lib.logger import handle_exception | ||||||
| sys.excepthook = handle_exception | sys.excepthook = handle_exception | ||||||
|   | |||||||
							
								
								
									
										27
									
								
								doc/source/_templates/autosummary/_class.rst
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										27
									
								
								doc/source/_templates/autosummary/_class.rst
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,27 @@ | |||||||
|  | {{ objname | escape | underline}} | ||||||
|  |  | ||||||
|  | Import as {{ fullname }} | ||||||
|  |  | ||||||
|  | .. currentmodule:: {{ module }} | ||||||
|  |  | ||||||
|  | .. autoclass:: {{ objname }} | ||||||
|  |  | ||||||
|  |    {% block methods %} | ||||||
|  |    {% if methods %} | ||||||
|  |    .. rubric:: {{ _('Methods') }} | ||||||
|  |  | ||||||
|  |    .. autosummary:: | ||||||
|  |       :toctree: | ||||||
|  |  | ||||||
|  |    {% for item in methods %} | ||||||
|  |    {%- if not item.startswith('_') %} | ||||||
|  |       ~{{ name }}.{{ item }} | ||||||
|  |    {%- endif %} | ||||||
|  |    {%- endfor %} | ||||||
|  |    {% endif %} | ||||||
|  |    {% endblock %} | ||||||
|  |     | ||||||
|  | .. minigallery:: {{module}}.{{objname}} | ||||||
|  |    :add-heading: | ||||||
|  |  | ||||||
|  |  | ||||||
							
								
								
									
										33
									
								
								doc/source/_templates/autosummary/class_with_attributes.rst
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								doc/source/_templates/autosummary/class_with_attributes.rst
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,33 @@ | |||||||
|  | {{ fullname | escape | underline}} | ||||||
|  |  | ||||||
|  | .. currentmodule:: {{ module }} | ||||||
|  |  | ||||||
|  | .. autoclass:: {{ objname }} | ||||||
|  |  | ||||||
|  |    {% block methods %} | ||||||
|  |    {% if methods %} | ||||||
|  |    .. rubric:: {{ _('Methods') }} | ||||||
|  |  | ||||||
|  |    {% for item in methods %} | ||||||
|  |    {% if not item.startswith('_') %} | ||||||
|  |    .. automethod:: {{ item }} | ||||||
|  |    {%- endif %} | ||||||
|  |    {%- endfor %} | ||||||
|  |    {% endif %} | ||||||
|  |    {% endblock %} | ||||||
|  |  | ||||||
|  |    {% block attributes %} | ||||||
|  |    {% if attributes %} | ||||||
|  |    .. rubric:: {{ _('Attributes') }} | ||||||
|  |  | ||||||
|  |    {% for item in attributes %} | ||||||
|  |    .. autoattribute:: {{ item }} | ||||||
|  |    {%- endfor %} | ||||||
|  |    {% endif %} | ||||||
|  |    {% endblock %} | ||||||
|  |  | ||||||
|  | .. include:: {{ fullname }}.examples | ||||||
|  |  | ||||||
|  | .. raw:: html | ||||||
|  |  | ||||||
|  |     <div class="clearer"></div> | ||||||
							
								
								
									
										
											BIN
										
									
								
								resources/_rc/left.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								resources/_rc/left.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 3.1 KiB | 
							
								
								
									
										
											BIN
										
									
								
								resources/_rc/right.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								resources/_rc/right.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 2.6 KiB | 
| @@ -24,7 +24,9 @@ | |||||||
|         "actionMouse_behaviour": "mouse", |         "actionMouse_behaviour": "mouse", | ||||||
|         "menuNormalize": "normal", |         "menuNormalize": "normal", | ||||||
|         "action_mean_t1": "mean", |         "action_mean_t1": "mean", | ||||||
|         "menuLimits": "fit_region" |         "menuLimits": "fit_region", | ||||||
|  |         "actionPrevious": "left", | ||||||
|  |         "actionNext_window": "right" | ||||||
|     }, |     }, | ||||||
|     "DataWidget": { |     "DataWidget": { | ||||||
|         "graph_toolButton": "new", |         "graph_toolButton": "new", | ||||||
|   | |||||||
							
								
								
									
										
											BIN
										
									
								
								resources/icons/normal_light/right.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								resources/icons/normal_light/right.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 1.7 KiB | 
							
								
								
									
										
											BIN
										
									
								
								resources/icons/pokemon_light/left.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								resources/icons/pokemon_light/left.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 3.1 KiB | 
							
								
								
									
										
											BIN
										
									
								
								resources/icons/pokemon_light/right.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								resources/icons/pokemon_light/right.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 2.6 KiB | 
		Reference in New Issue
	
	Block a user