ipyvasp 1.0.5__tar.gz → 1.0.7__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.
- {ipyvasp-1.0.5 → ipyvasp-1.0.7}/PKG-INFO +1 -1
- ipyvasp-1.0.7/ipyvasp/_version.py +1 -0
- {ipyvasp-1.0.5 → ipyvasp-1.0.7}/ipyvasp/widgets.py +8 -8
- {ipyvasp-1.0.5 → ipyvasp-1.0.7}/ipyvasp.egg-info/PKG-INFO +1 -1
- ipyvasp-1.0.5/ipyvasp/_version.py +0 -1
- {ipyvasp-1.0.5 → ipyvasp-1.0.7}/LICENSE +0 -0
- {ipyvasp-1.0.5 → ipyvasp-1.0.7}/README.md +0 -0
- {ipyvasp-1.0.5 → ipyvasp-1.0.7}/ipyvasp/__init__.py +0 -0
- {ipyvasp-1.0.5 → ipyvasp-1.0.7}/ipyvasp/__main__.py +0 -0
- {ipyvasp-1.0.5 → ipyvasp-1.0.7}/ipyvasp/_enplots.py +0 -0
- {ipyvasp-1.0.5 → ipyvasp-1.0.7}/ipyvasp/_lattice.py +0 -0
- {ipyvasp-1.0.5 → ipyvasp-1.0.7}/ipyvasp/bsdos.py +0 -0
- {ipyvasp-1.0.5 → ipyvasp-1.0.7}/ipyvasp/cli.py +0 -0
- {ipyvasp-1.0.5 → ipyvasp-1.0.7}/ipyvasp/core/__init__.py +0 -0
- {ipyvasp-1.0.5 → ipyvasp-1.0.7}/ipyvasp/core/parser.py +0 -0
- {ipyvasp-1.0.5 → ipyvasp-1.0.7}/ipyvasp/core/plot_toolkit.py +0 -0
- {ipyvasp-1.0.5 → ipyvasp-1.0.7}/ipyvasp/core/serializer.py +0 -0
- {ipyvasp-1.0.5 → ipyvasp-1.0.7}/ipyvasp/core/spatial_toolkit.py +0 -0
- {ipyvasp-1.0.5 → ipyvasp-1.0.7}/ipyvasp/evals_dataframe.py +0 -0
- {ipyvasp-1.0.5 → ipyvasp-1.0.7}/ipyvasp/lattice.py +0 -0
- {ipyvasp-1.0.5 → ipyvasp-1.0.7}/ipyvasp/misc.py +0 -0
- {ipyvasp-1.0.5 → ipyvasp-1.0.7}/ipyvasp/potential.py +0 -0
- {ipyvasp-1.0.5 → ipyvasp-1.0.7}/ipyvasp/utils.py +0 -0
- {ipyvasp-1.0.5 → ipyvasp-1.0.7}/ipyvasp.egg-info/SOURCES.txt +0 -0
- {ipyvasp-1.0.5 → ipyvasp-1.0.7}/ipyvasp.egg-info/dependency_links.txt +0 -0
- {ipyvasp-1.0.5 → ipyvasp-1.0.7}/ipyvasp.egg-info/entry_points.txt +0 -0
- {ipyvasp-1.0.5 → ipyvasp-1.0.7}/ipyvasp.egg-info/requires.txt +0 -0
- {ipyvasp-1.0.5 → ipyvasp-1.0.7}/ipyvasp.egg-info/top_level.txt +0 -0
- {ipyvasp-1.0.5 → ipyvasp-1.0.7}/setup.cfg +0 -0
- {ipyvasp-1.0.5 → ipyvasp-1.0.7}/setup.py +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "1.0.7"
|
|
@@ -242,7 +242,7 @@ class Files:
|
|
|
242
242
|
return tuple(np.unique(np.hstack(files_tuples)))
|
|
243
243
|
|
|
244
244
|
@_sub_doc(dl.interactive)
|
|
245
|
-
def interactive(self, *funcs,
|
|
245
|
+
def interactive(self, *funcs, post_init:callable=None,**kwargs):
|
|
246
246
|
if 'file' in kwargs:
|
|
247
247
|
raise KeyError("file is a reserved keyword argument to select path to file!")
|
|
248
248
|
|
|
@@ -259,13 +259,13 @@ class Files:
|
|
|
259
259
|
if funcs and not has_file_param: # may be no func yet, that is test below
|
|
260
260
|
raise KeyError("At least one of funcs should take 'file' as parameter, none got it!")
|
|
261
261
|
|
|
262
|
-
return dl.interactive(*funcs,
|
|
262
|
+
return dl.interactive(*funcs, post_init=post_init, file = self.to_dropdown(), **kwargs)
|
|
263
263
|
|
|
264
264
|
@_sub_doc(dl.interact)
|
|
265
|
-
def interact(self, *funcs,
|
|
265
|
+
def interact(self, *funcs, post_init:callable=None,**kwargs):
|
|
266
266
|
def inner(func):
|
|
267
267
|
display(self.interactive(func, *funcs,
|
|
268
|
-
|
|
268
|
+
post_init=post_init,
|
|
269
269
|
**kwargs)
|
|
270
270
|
)
|
|
271
271
|
return func
|
|
@@ -689,9 +689,9 @@ class BandsWidget(_ThemedFigureInteract):
|
|
|
689
689
|
self.set_layout(
|
|
690
690
|
left_sidebar=[
|
|
691
691
|
'head','file','krange','kticks','brange', 'ppicks',
|
|
692
|
-
|
|
692
|
+
HBox(children=self.gather('theme','button')), 'kb_fig',
|
|
693
693
|
],
|
|
694
|
-
center=['hdata','fig','cpoint'], footer =
|
|
694
|
+
center=['hdata','fig','cpoint'], footer = ['*out'], # all outputs
|
|
695
695
|
right_sidebar = ['showft'],
|
|
696
696
|
pane_widths=['25em',1,'2em'], pane_heights=[0,1,0], # footer only has uselessoutputs
|
|
697
697
|
height=height
|
|
@@ -959,10 +959,10 @@ class KPathWidget(_ThemedFigureInteract):
|
|
|
959
959
|
super().__init__()
|
|
960
960
|
traitlets.dlink((self.params.file,'value'),(self, 'file')) # update file trait
|
|
961
961
|
|
|
962
|
-
btns =
|
|
962
|
+
btns = HBox(children=self.gather('lock','delp', 'theme'), layout=Layout(min_height="24px"))
|
|
963
963
|
self.set_layout(
|
|
964
964
|
left_sidebar=['head','file',btns, 'info', 'sm','out-kpt','kpt', 'out-lab', 'lab'],
|
|
965
|
-
center=['fig'], footer = [
|
|
965
|
+
center=['fig'], footer = ['*out', '!out-lab','!out-kpt'], # all outputs except prefixed with !
|
|
966
966
|
pane_widths=['25em',1,0], pane_heights=[0,1,0], # footer only has uselessoutputs
|
|
967
967
|
height=height
|
|
968
968
|
)
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "1.0.5"
|
|
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
|