/dports/science/py-abipy/abipy-0.9.0/abipy/core/ |
H A D | mixins.py | 496 nbpath = self.write_notebook(nbpath=nbpath) 534 return os.system("%s %s" % (app_path, nbpath)) 538 cmd = "%s %s" % (app_path, nbpath) 547 notebook_name = os.path.basename(nbpath) 548 dirname = os.path.dirname(nbpath) 549 print("nbpath:", nbpath) 639 def write_notebook(self, nbpath=None): argument 662 def _write_nb_nbpath(nb, nbpath): argument 668 if nbpath is None: 673 with io.open(nbpath, 'wt', encoding="utf8") as fh: [all …]
|
/dports/devel/py-nbclassic/nbclassic-0.3.4/nbclassic/tests/ |
H A D | test_notebookapp.py | 31 for nbpath in notebooks: 32 r = await jp_fetch('notebooks', nbpath) 38 assert nbpath in html
|
/dports/science/py-abipy/abipy-0.9.0/abipy/electrons/tests/ |
H A D | test_denpot.py | 55 denc.write_notebook(nbpath=self.get_tmpname(text=True)) 101 denc.write_notebook(nbpath=self.get_tmpname(text=True)) 136 ncfile.write_notebook(nbpath=self.get_tmpname(text=True)) 169 ncfile.write_notebook(nbpath=self.get_tmpname(text=True)) 203 ncfile.write_notebook(nbpath=self.get_tmpname(text=True)) 230 ncfile.write_notebook(nbpath=self.get_tmpname(text=True))
|
H A D | test_lobster.py | 51 assert cohp.write_notebook(nbpath=self.get_tmpname(text=True)) 73 assert coop.write_notebook(nbpath=self.get_tmpname(text=True)) 120 assert icohp.write_notebook(nbpath=self.get_tmpname(text=True)) 150 assert ldos.write_notebook(nbpath=self.get_tmpname(text=True)) 186 assert lobana.write_notebook(nbpath=self.get_tmpname(text=True))
|
H A D | test_optic.py | 45 optic.write_notebook(nbpath=self.get_tmpname(text=True)) 72 robot.write_notebook(nbpath=self.get_tmpname(text=True))
|
H A D | test_bse.py | 76 mdf_file.write_notebook(nbpath=self.get_tmpname(text=True)) 126 robot.write_notebook(nbpath=self.get_tmpname(text=True))
|
H A D | test_fatbands.py | 40 fbnc_kpath.write_notebook(nbpath=self.get_tmpname(text=True)) 98 fbnc_kpath.write_notebook(nbpath=self.get_tmpname(text=True))
|
/dports/science/py-abipy/abipy-0.9.0/abipy/abio/tests/ |
H A D | test_outputs.py | 21 abilog.write_notebook(nbpath=self.get_tmpname(text=True)) 87 abo.write_notebook(nbpath=self.get_tmpname(text=True)) 88 timer.write_notebook(nbpath=self.get_tmpname(text=True)) 120 abo.write_notebook(nbpath=self.get_tmpname(text=True)) 205 robot.write_notebook(nbpath=self.get_tmpname(text=True))
|
/dports/devel/py-jupyter-server/jupyter_server-1.12.1/jupyter_server/ |
H A D | pytest_plugin.py | 450 def inner(nbpath): argument 451 nbpath = jp_root_dir.joinpath(nbpath) 453 if nbpath.suffix != ".ipynb": 456 parent = nbpath.parent 461 nbpath.write_text(nbtext)
|
/dports/devel/py-jupyter-server/jupyter_server-1.12.1/jupyter_server/tests/services/contents/ |
H A D | test_api.py | 140 nbpath = (path + "/" + nbname).lstrip("/") 141 r = await jp_fetch("api", "contents", nbpath, method="GET", params=dict(content="1")) 144 assert model["path"] == nbpath 155 nbpath = (path + "/" + nbname).lstrip("/") 159 assert model["path"] == nbpath 176 nbpath = u"å b/Validate tést.ipynb" 177 (contents_dir / nbpath).write_text(json.dumps(nb)) 181 nbpath, 185 assert model["path"] == nbpath 488 nbpath = (path + "/" + nbname).lstrip("/") [all …]
|
/dports/devel/py-jupyterlab-server/jupyterlab_server-2.8.2/jupyterlab_server/tests/ |
H A D | test_labapp.py | 32 for nbpath in notebooks: 33 r = await jp_fetch('lab', nbpath)
|
/dports/science/py-abipy/abipy-0.9.0/abipy/abio/ |
H A D | timer.py | 20 def write_notebook(self, nbpath=None): argument 44 return self._write_nb_nbpath(nb, nbpath)
|
/dports/science/py-abipy/abipy-0.9.0/abipy/dfpt/tests/ |
H A D | test_anaddbnc.py | 33 assert anc.write_notebook(nbpath=self.get_tmpname(text=True)) 49 assert robot.write_notebook(nbpath=self.get_tmpname(text=True))
|
/dports/science/py-abipy/abipy-0.9.0/abipy/wannier90/tests/ |
H A D | test_abiwan.py | 53 assert abiwan.write_notebook(nbpath=self.get_tmpname(text=True)) 95 assert abiwan.write_notebook(nbpath=self.get_tmpname(text=True)) 121 assert robot.write_notebook(nbpath=self.get_tmpname(text=True))
|
H A D | test_wout.py | 45 assert wout.write_notebook(nbpath=self.get_tmpname(text=True)) 79 assert wout.write_notebook(nbpath=self.get_tmpname(text=True))
|
/dports/science/py-abipy/abipy-0.9.0/abipy/scripts/ |
H A D | abiopen.py | 49 _, nbpath = tempfile.mkstemp(prefix="abinb_", suffix='.ipynb', dir=os.getcwd(), text=True) 51 with io.open(nbpath, 'wt', encoding="utf8") as f: 65 return os.system("%s %s" % (appname, nbpath)) 69 cmd = "%s %s" % (appname, nbpath)
|
/dports/science/py-abipy/abipy-0.9.0/abipy/eph/tests/ |
H A D | test_v1qavg.py | 39 ncfile.write_notebook(nbpath=self.get_tmpname(text=True)) 71 robot.write_notebook(nbpath=self.get_tmpname(text=True))
|
H A D | test_a2f.py | 85 ncfile.write_notebook(nbpath=self.get_tmpname(text=True)) 138 robot.write_notebook(nbpath=self.get_tmpname(text=True))
|
H A D | test_transportfile.py | 26 assert si_transport.write_notebook(nbpath=self.get_tmpname(text=True))
|
/dports/science/py-abipy/abipy-0.9.0/abipy/electrons/ |
H A D | eskw.py | 93 def write_notebook(self, nbpath=None): argument 111 return self._write_nb_nbpath(nb, nbpath)
|
H A D | gsr.py | 248 def write_notebook(self, nbpath=None): argument 267 return self._write_nb_nbpath(nb, nbpath) 616 def write_notebook(self, nbpath=None): argument 640 return self._write_nb_nbpath(nb, nbpath)
|
/dports/science/py-abipy/abipy-0.9.0/abipy/eph/ |
H A D | v1qnu.py | 155 def write_notebook(self, nbpath=None): argument 168 return self._write_nb_nbpath(nb, nbpath)
|
H A D | transportfile.py | 209 def write_notebook(self, nbpath=None): argument 224 return self._write_nb_nbpath(nb, nbpath) 412 def write_notebook(self, nbpath=None): argument 430 return self._write_nb_nbpath(nb, nbpath)
|
/dports/science/py-abipy/abipy-0.9.0/abipy/dfpt/ |
H A D | anaddbnc.py | 295 def write_notebook(self, nbpath=None): argument 307 return self._write_nb_nbpath(nb, nbpath) 428 def write_notebook(self, nbpath=None): argument 445 return self._write_nb_nbpath(nb, nbpath)
|
/dports/science/py-abipy/abipy-0.9.0/abipy/dynamics/tests/ |
H A D | test_hist.py | 76 hist.write_notebook(nbpath=self.get_tmpname(text=True)) 109 robot.write_notebook(nbpath=self.get_tmpname(text=True))
|