10
0
mirror of https://github.com/LCPQ/quantum_package synced 2024-10-19 22:41:48 +02:00

Fixed gitignore

This commit is contained in:
Anthony Scemama 2018-12-21 17:39:45 +01:00
parent 8b959ec696
commit 7409eefcc6
3 changed files with 22 additions and 33 deletions

4
TODO
View File

@ -1,6 +1,6 @@
# qp_module # qp_module
* Mettre les fichiers de test dans le directory source * Change travis test
* Mettre le fichier LIB * Mettre le fichier LIB
# Web/doc # Web/doc
@ -52,7 +52,7 @@
# Programmers doc: # Programmers doc:
* Example : Simple Hartree-Fock program from scratch * Example : Simple Hartree-Fock program from scratch
* Examples : subroutine example_module * Examples : subroutine example_module
# Config file for Cray # Config file for Cray

View File

@ -1,32 +1,30 @@
# Automatically created by $QP_ROOT/scripts/module/module_handler.py IRPF90_temp/
.ninja_deps IRPF90_man/
.ninja_log irpf90.make
/home/scemama/quantum_package/src/tools/diagonalize_h ezfio_interface.irp.f
/home/scemama/quantum_package/src/tools/fcidump irpf90_entities
/home/scemama/quantum_package/src/tools/four_idx_transform tags
/home/scemama/quantum_package/src/tools/molden
/home/scemama/quantum_package/src/tools/save_natorb
/home/scemama/quantum_package/src/tools/save_ortho_mos
/home/scemama/quantum_package/src/tools/write_integrals_erf
IRPF90_man
IRPF90_temp
Makefile Makefile
Makefile.depend
ao_basis ao_basis
ao_one_e_integrals ao_one_e_integrals
ao_two_e_integrals ao_two_e_integrals
becke_numerical_grid
bitmask bitmask
cis
cisd
davidson davidson
davidson_dressed
davidson_undressed davidson_undressed
determinants determinants
dressing
dummy
electrons electrons
ezfio_files ezfio_files
ezfio_interface.irp.f
fci fci
generators_cas
generators_full generators_full
hartree_fock hartree_fock
irpf90.make integrals_bielec
irpf90_entities
iterations iterations
mo_basis mo_basis
mo_guess mo_guess
@ -39,9 +37,11 @@ perturbation
pseudo pseudo
psiref_cas psiref_cas
psiref_utils psiref_utils
scf_utils selectors_cassd
selectors_full selectors_full
selectors_utils selectors_utils
tags single_ref_method
slave
tools
utils utils
zmq zmq

View File

@ -6,7 +6,6 @@ Module utilitary
Usage: Usage:
module_handler.py print_descendant [<module_name>...] module_handler.py print_descendant [<module_name>...]
module_handler.py clean [ --all | <module_name>...] module_handler.py clean [ --all | <module_name>...]
module_handler.py create_git_ignore [<module_name>...]
Options: Options:
print_descendant Print the genealogy of the needed modules print_descendant Print the genealogy of the needed modules
@ -225,7 +224,7 @@ if __name__ == '__main__':
for module in l_module: for module in l_module:
print " ".join(sorted(m.l_descendant_unique([module]))) print " ".join(sorted(m.l_descendant_unique([module])))
if arguments["clean"] or arguments["create_git_ignore"]: if arguments["clean"]:
l_dir = ['IRPF90_temp', 'IRPF90_man'] l_dir = ['IRPF90_temp', 'IRPF90_man']
l_file = ["irpf90_entities", "tags", "irpf90.make", "Makefile", l_file = ["irpf90_entities", "tags", "irpf90.make", "Makefile",
@ -263,14 +262,4 @@ if __name__ == '__main__':
except: except:
pass pass
if arguments["create_git_ignore"]:
path = os.path.join(module_abs, ".gitignore")
with open(path, "w+") as f:
f.write("# Automatically created by {0} \n".format(__file__).replace(QP_ROOT,"$QP_ROOT"))
l_text = l_dir + l_file + l_symlink + l_exe
l_text.sort()
f.write("\n".join(l_text))