Skip to content

Commit

Permalink
MAINT: Renamed "scripts" to "staging" and added a README file
Browse files Browse the repository at this point in the history
  • Loading branch information
pastewka committed Jan 15, 2024
1 parent 23d8827 commit 256672d
Show file tree
Hide file tree
Showing 28 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion matscipy/cli/fracture_mechanics/sinclair_continuation.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
def main():
print(matscipy.__file__)

sys.path.insert(0, '../../../scripts/fracture_mechanics')
sys.path.insert(0, '../../../staging/fracture_mechanics')

import params

Expand Down
2 changes: 1 addition & 1 deletion matscipy/cli/fracture_mechanics/sinclair_crack.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
import sys

def main():
sys.path.insert(0, '../../../scripts/fracture_mechanics')
sys.path.insert(0, '../../../staging/fracture_mechanics')
import params

calc = parameter('calc')
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,11 @@ cli = [
# ],
# },
# ...
# resulted in optional CLI scripts installed only if the extra [cli] had been
# resulted in optional CLI staging installed only if the extra [cli] had been
# explicitly requested, e.g. via
# pip install matscipy[cli]
# (see https://github.com/libAtoms/matscipy/blob/92dd490a3c2c71edc5d0018487afbee5f2273730/setup.py#L302-L319)
# With pyproject.toml and meson as build system, the console scripts are
# With pyproject.toml and meson as build system, the console staging are
# always installed, even if they are specified as extra-dependent as done here.

# Generic
Expand Down
5 changes: 5 additions & 0 deletions staging/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Staging area
============

This directory contains command-line scripts that are not yet mature enough for inclusion into the installable
matscipy CLI.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion tests/test_electrochemistry_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def setUp(self):
self.ref_lammps = ase.io.read(
os.path.join(self.data_path,'NaCl.lammps'),format='lammps-data')

# command line interface scripts are expected to reside within
# command line interface staging are expected to reside within
# ../matscipy/cli/electrochemistry relative to this test directory
self.pnp_cli = os.path.join(
self.test_path,os.path.pardir,'matscipy','cli','electrochemistry','poisson_nernst_planck_solver.py')
Expand Down

0 comments on commit 256672d

Please sign in to comment.