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.
Files changed (30) hide show
  1. {ipyvasp-1.0.5 → ipyvasp-1.0.7}/PKG-INFO +1 -1
  2. ipyvasp-1.0.7/ipyvasp/_version.py +1 -0
  3. {ipyvasp-1.0.5 → ipyvasp-1.0.7}/ipyvasp/widgets.py +8 -8
  4. {ipyvasp-1.0.5 → ipyvasp-1.0.7}/ipyvasp.egg-info/PKG-INFO +1 -1
  5. ipyvasp-1.0.5/ipyvasp/_version.py +0 -1
  6. {ipyvasp-1.0.5 → ipyvasp-1.0.7}/LICENSE +0 -0
  7. {ipyvasp-1.0.5 → ipyvasp-1.0.7}/README.md +0 -0
  8. {ipyvasp-1.0.5 → ipyvasp-1.0.7}/ipyvasp/__init__.py +0 -0
  9. {ipyvasp-1.0.5 → ipyvasp-1.0.7}/ipyvasp/__main__.py +0 -0
  10. {ipyvasp-1.0.5 → ipyvasp-1.0.7}/ipyvasp/_enplots.py +0 -0
  11. {ipyvasp-1.0.5 → ipyvasp-1.0.7}/ipyvasp/_lattice.py +0 -0
  12. {ipyvasp-1.0.5 → ipyvasp-1.0.7}/ipyvasp/bsdos.py +0 -0
  13. {ipyvasp-1.0.5 → ipyvasp-1.0.7}/ipyvasp/cli.py +0 -0
  14. {ipyvasp-1.0.5 → ipyvasp-1.0.7}/ipyvasp/core/__init__.py +0 -0
  15. {ipyvasp-1.0.5 → ipyvasp-1.0.7}/ipyvasp/core/parser.py +0 -0
  16. {ipyvasp-1.0.5 → ipyvasp-1.0.7}/ipyvasp/core/plot_toolkit.py +0 -0
  17. {ipyvasp-1.0.5 → ipyvasp-1.0.7}/ipyvasp/core/serializer.py +0 -0
  18. {ipyvasp-1.0.5 → ipyvasp-1.0.7}/ipyvasp/core/spatial_toolkit.py +0 -0
  19. {ipyvasp-1.0.5 → ipyvasp-1.0.7}/ipyvasp/evals_dataframe.py +0 -0
  20. {ipyvasp-1.0.5 → ipyvasp-1.0.7}/ipyvasp/lattice.py +0 -0
  21. {ipyvasp-1.0.5 → ipyvasp-1.0.7}/ipyvasp/misc.py +0 -0
  22. {ipyvasp-1.0.5 → ipyvasp-1.0.7}/ipyvasp/potential.py +0 -0
  23. {ipyvasp-1.0.5 → ipyvasp-1.0.7}/ipyvasp/utils.py +0 -0
  24. {ipyvasp-1.0.5 → ipyvasp-1.0.7}/ipyvasp.egg-info/SOURCES.txt +0 -0
  25. {ipyvasp-1.0.5 → ipyvasp-1.0.7}/ipyvasp.egg-info/dependency_links.txt +0 -0
  26. {ipyvasp-1.0.5 → ipyvasp-1.0.7}/ipyvasp.egg-info/entry_points.txt +0 -0
  27. {ipyvasp-1.0.5 → ipyvasp-1.0.7}/ipyvasp.egg-info/requires.txt +0 -0
  28. {ipyvasp-1.0.5 → ipyvasp-1.0.7}/ipyvasp.egg-info/top_level.txt +0 -0
  29. {ipyvasp-1.0.5 → ipyvasp-1.0.7}/setup.cfg +0 -0
  30. {ipyvasp-1.0.5 → ipyvasp-1.0.7}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ipyvasp
3
- Version: 1.0.5
3
+ Version: 1.0.7
4
4
  Summary: A processing tool for VASP DFT input/output processing in Jupyter Notebook.
5
5
  Home-page: https://github.com/massgh/ipyvasp
6
6
  Author: Abdul Saboor
@@ -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, auto_update=True, post_init:callable=None,**kwargs):
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,auto_update=auto_update, post_init=post_init, file = self.to_dropdown(), **kwargs)
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, auto_update=True, post_init:callable=None,**kwargs):
265
+ def interact(self, *funcs, post_init:callable=None,**kwargs):
266
266
  def inner(func):
267
267
  display(self.interactive(func, *funcs,
268
- auto_update=auto_update, post_init=post_init,
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
- [HBox(),('theme','button')], 'kb_fig',
692
+ HBox(children=self.gather('theme','button')), 'kb_fig',
693
693
  ],
694
- center=['hdata','fig','cpoint'], footer = self.groups.outputs,
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 = [HBox(layout=Layout(min_height="24px")),('lock','delp', 'theme')]
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 = [c for c in self.groups.outputs if not c in ('out-lab','out-kpt')],
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,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ipyvasp
3
- Version: 1.0.5
3
+ Version: 1.0.7
4
4
  Summary: A processing tool for VASP DFT input/output processing in Jupyter Notebook.
5
5
  Home-page: https://github.com/massgh/ipyvasp
6
6
  Author: Abdul Saboor
@@ -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