Home
last modified time | relevance | path

Searched refs:nbpath (Results 1 – 25 of 77) sorted by relevance

1234

/dports/science/py-abipy/abipy-0.9.0/abipy/core/
H A Dmixins.py496 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 Dtest_notebookapp.py31 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 Dtest_denpot.py55 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 Dtest_lobster.py51 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 Dtest_optic.py45 optic.write_notebook(nbpath=self.get_tmpname(text=True))
72 robot.write_notebook(nbpath=self.get_tmpname(text=True))
H A Dtest_bse.py76 mdf_file.write_notebook(nbpath=self.get_tmpname(text=True))
126 robot.write_notebook(nbpath=self.get_tmpname(text=True))
H A Dtest_fatbands.py40 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 Dtest_outputs.py21 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 Dpytest_plugin.py450 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 Dtest_api.py140 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 Dtest_labapp.py32 for nbpath in notebooks:
33 r = await jp_fetch('lab', nbpath)
/dports/science/py-abipy/abipy-0.9.0/abipy/abio/
H A Dtimer.py20 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 Dtest_anaddbnc.py33 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 Dtest_abiwan.py53 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 Dtest_wout.py45 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 Dabiopen.py49 _, 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 Dtest_v1qavg.py39 ncfile.write_notebook(nbpath=self.get_tmpname(text=True))
71 robot.write_notebook(nbpath=self.get_tmpname(text=True))
H A Dtest_a2f.py85 ncfile.write_notebook(nbpath=self.get_tmpname(text=True))
138 robot.write_notebook(nbpath=self.get_tmpname(text=True))
H A Dtest_transportfile.py26 assert si_transport.write_notebook(nbpath=self.get_tmpname(text=True))
/dports/science/py-abipy/abipy-0.9.0/abipy/electrons/
H A Deskw.py93 def write_notebook(self, nbpath=None): argument
111 return self._write_nb_nbpath(nb, nbpath)
H A Dgsr.py248 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 Dv1qnu.py155 def write_notebook(self, nbpath=None): argument
168 return self._write_nb_nbpath(nb, nbpath)
H A Dtransportfile.py209 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 Danaddbnc.py295 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 Dtest_hist.py76 hist.write_notebook(nbpath=self.get_tmpname(text=True))
109 robot.write_notebook(nbpath=self.get_tmpname(text=True))

1234