Skip to content

Commit

Permalink
Delete unused NiCoFe deposition estimate
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeshingles committed Dec 23, 2024
1 parent 26fbca7 commit 965f0ac
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 146 deletions.
1 change: 0 additions & 1 deletion artistools/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
from artistools import atomic as atomic
from artistools import codecomparison as codecomparison
from artistools import commands as commands
from artistools import deposition as deposition
from artistools import estimators as estimators
from artistools import gsinetwork as gsinetwork
from artistools import inputmodel as inputmodel
Expand Down
3 changes: 0 additions & 3 deletions artistools/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
"makeartismodel1dslicefromcone",
"makeartismodel",
"plotartisdensity",
"plotartisdeposition",
"plotartisestimators",
"plotartislightcurve",
"plotartislinefluxes",
Expand All @@ -34,7 +33,6 @@
subcommandtree: CommandType = {
"comparetogsinetwork": ("gsinetwork.plotqdotabund", "main"),
"gsinetworkdecayproducts": ("gsinetwork.decayproducts", "main"),
"deposition": ("deposition", "main_analytical"),
"describeinputmodel": ("inputmodel.describeinputmodel", "main"),
"exportmassfractions": ("estimators.exportmassfractions", "main"),
"getpath": ("", "get_path"),
Expand All @@ -47,7 +45,6 @@
"plotlightcurves": ("lightcurve.plotlightcurve", "main"),
"plotlinefluxes": ("linefluxes", "main"),
"plotdensity": ("inputmodel.plotdensity", "main"),
"plotdeposition": ("deposition", "main"),
"plotmacroatom": ("macroatom", "main"),
"plotnltepops": ("nltepops.plotnltepops", "main"),
"plotnonthermal": ("nonthermal.plotnonthermal", "main"),
Expand Down
137 changes: 0 additions & 137 deletions artistools/deposition.py

This file was deleted.

6 changes: 1 addition & 5 deletions artistools/test_artistools.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,14 +77,10 @@ def test_timestep_times() -> None:
)


def test_deposition() -> None:
at.deposition.main(argsraw=[], modelpath=modelpath)


def test_get_inputparams() -> None:
inputparams = at.get_inputparams(modelpath)
dicthash = hashlib.sha256(str(sorted(inputparams.items())).encode("utf-8")).hexdigest()
assert dicthash == "ce7d04d6944207673a105cba8d2430055d0b53b7f3e92db3964d2dca285a3adb"
assert dicthash == "1edcddd5d36cc2eaed94ad083dacfb95c6915b8fd4f62591e2b79ceca6885d1e", dicthash


def test_macroatom() -> None:
Expand Down

0 comments on commit 965f0ac

Please sign in to comment.