Skip to content

Commit

Permalink
Remove example entry points (#13)
Browse files Browse the repository at this point in the history
* Remove diag entry points

* Remove all unnecesary entry points

* Fix pre commit
  • Loading branch information
addman2 authored Nov 3, 2023
1 parent 2bd2d5f commit 091e72f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 6 additions & 0 deletions example/example_diagonalization.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,12 @@ def test_diagonalize_hamiltonian(aiida_local_code_factory, clear_database):
from aiida.engine import run
import numpy as np

# Add entry point

entry_points.add(group='aiida.calculations',
name='aiida-python.example.calc_diag',
value=ClassThatCannotStartWithTestLastTime)

executable = 'python3'
entry_point = 'aiida-python.example.calc_diag'

Expand Down
4 changes: 1 addition & 3 deletions setup.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,7 @@
"version": "0.0.0",
"entry_points": {
"aiida.calculations": [
"aiida-python.calc = aiida_python.calc:CalcJobPython",
"aiida-python.example.calc_diag = example.test_diagonalization:ClassThatCannotStartWithTestLastTime",
"aiida-python.example.gpeval = example.dmc_optimize.gpeval:GPEval"
"aiida-python.calc = aiida_python.calc:CalcJobPython"
],
"aiida.parsers": [
"aiida-python.parser = aiida_python.parser:ParserPython"
Expand Down

0 comments on commit 091e72f

Please sign in to comment.