Skip to content

Commit

Permalink
Removing commented out method
Browse files Browse the repository at this point in the history
  • Loading branch information
benrich37 committed Oct 2, 2024
1 parent cfc30b0 commit 6bdcf30
Showing 1 changed file with 0 additions and 39 deletions.
39 changes: 0 additions & 39 deletions src/pymatgen/io/jdftx/jeiters.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,45 +16,6 @@
__author__ = "Ben Rich"


# def gather_jeiters_line_collections(iter_type: str, text_slice: list[str]) -> tuple[list[list[str]], list[str]]:
# """Gather line collections for JEiters initialization.

# Gathers list of line lists where each line list initializes a JEiter object,
# and the remaining lines that do not initialize a JEiter object are used
# for initialization unique to the JEiters object.

# Parameters
# ----------
# iter_type: str
# The type of electronic minimization step
# text_slice: list[str]
# A slice of text from a JDFTx out file corresponding to a series of
# SCF steps

# Returns
# -------
# line_collections: list[list[str]]
# A list of lists of lines of text from a JDFTx out file corresponding to
# a single SCF step
# lines_collect: list[str]
# A list of lines of text from a JDFTx out file corresponding to a single
# SCF step

# """
# lines_collect = []
# line_collections = []
# _iter_flag = f"{iter_type}: Iter:"
# for line_text in text_slice:
# if len(line_text.strip()):
# lines_collect.append(line_text)
# if _iter_flag in line_text:
# line_collections.append(lines_collect)
# lines_collect = []
# else:
# break
# return line_collections, lines_collect


class JEiters:
"""Class object for series of SCF steps.
Expand Down

0 comments on commit 6bdcf30

Please sign in to comment.