Skip to content

Commit

Permalink
rename to RattleAnalysis (#128)
Browse files Browse the repository at this point in the history
  • Loading branch information
PythonFZ authored Jun 12, 2023
1 parent 03d7c9c commit 6bb7842
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions ipsuite/analysis/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
NaNCheck,
Prediction,
PredictionMetrics,
RattleAtoms,
RattleAnalysis,
TemperatureCheck,
ThresholdCheck,
)
Expand All @@ -33,7 +33,7 @@
"ModelEnsembleAnalysis",
"PredictionMetrics",
"ForceAngles",
"RattleAtoms",
"RattleAnalysis",
"Prediction",
"BoxScale",
"BoxHeatUp",
Expand Down
4 changes: 2 additions & 2 deletions ipsuite/analysis/model/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
BoxHeatUp,
BoxScale,
MDStability,
RattleAtoms,
RattleAnalysis,
)
from ipsuite.analysis.model.dynamics_checks import (
ConnectivityCheck,
Expand All @@ -23,7 +23,7 @@
"ForceAngles",
"PredictionMetrics",
"ForceDecomposition",
"RattleAtoms",
"RattleAnalysis",
"BoxHeatUp",
"BoxScale",
"EnergySpikeCheck",
Expand Down
2 changes: 1 addition & 1 deletion ipsuite/analysis/model/dynamics.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
log = logging.getLogger(__name__)


class RattleAtoms(base.ProcessSingleAtom):
class RattleAnalysis(base.ProcessSingleAtom):
"""Move particles with a given stdev from a starting configuration and predict.
Attributes
Expand Down
2 changes: 1 addition & 1 deletion ipsuite/nodes.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class _Nodes:
ModelEnsembleAnalysis = "ipsuite.analysis.ModelEnsembleAnalysis"
PredictionMetrics = "ipsuite.analysis.PredictionMetrics"
ForceAngles = "ipsuite.analysis.ForceAngles"
RattleAtoms = "ipsuite.analysis.RattleAtoms"
RattleAnalysis = "ipsuite.analysis.RattleAnalysis"
Prediction = "ipsuite.analysis.Prediction"
BoxScale = "ipsuite.analysis.BoxScale"
BoxHeatUp = "ipsuite.analysis.BoxHeatUp"
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/test_i_model_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def test_RattleAnalysis(trained_model):
project, model, validation_selection = trained_model

with project:
analysis = ipsuite.analysis.RattleAtoms(model=model, data=validation_selection)
analysis = ipsuite.analysis.RattleAnalysis(model=model, data=validation_selection)
project.run()

analysis.load()
Expand Down

0 comments on commit 6bb7842

Please sign in to comment.