diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d97e78a81..9230ae10b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -53,7 +53,7 @@ jobs: conda install abinit -c conda-forge --yes mpirun -n 1 abinit --version mpirun -n 1 abinit --build - pip install . + pip install --editable . mkdir -p $HOME/.abinit/abipy/ cp abipy/data/managers/travis_manager.yml $HOME/.abinit/abipy/manager.yml cp abipy/data/managers/simple_scheduler.yml $HOME/.abinit/abipy/scheduler.yml diff --git a/abipy/examples/plot/plot_structure.py b/abipy/examples/plot/plot_structure.py deleted file mode 100755 index c1c89115d..000000000 --- a/abipy/examples/plot/plot_structure.py +++ /dev/null @@ -1,25 +0,0 @@ -#!/usr/bin/env python -r""" -Unit cell -========= - -This example shows how to display the unit cell with matplotlib. -""" -from abipy.abilab import abiopen -import abipy.data as abidata - -#%% -# Extract structure from the netcdf file: - -with abiopen(abidata.ref_file("sio2_kpath_GSR.nc")) as gsr: - structure = gsr.structure - -#%% -# To visualize the structure with matplotlib, use: -structure.plot(color_scheme="Jmol") - -#%% -# To wrap sites into first unit cell, use: - -# sphinx_gallery_thumbnail_number = 2 -structure.plot(to_unit_cell=True)