Skip to content

Commit 2e4b44a

Browse files
committed
black
1 parent 6f6588a commit 2e4b44a

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

src/agentlab/experiments/reproducibility_util.py

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ def get_reproducibility_info(
195195
agent_names = [agent_names]
196196

197197
try:
198-
repo = _get_repo(agentlab)
198+
repo = _get_repo(agentlab)
199199
except InvalidGitRepositoryError:
200200
repo = None
201201

@@ -320,11 +320,15 @@ def append_to_journal(
320320
"""Append the info and results to the reproducibility journal."""
321321
if journal_path is None:
322322
try:
323-
_get_repo(agentlab) # if not based on git clone, this will raise an error
324-
journal_path = Path(agentlab.__file__).parent.parent.parent / "reproducibility_journal.csv"
323+
_get_repo(agentlab) # if not based on git clone, this will raise an error
324+
journal_path = (
325+
Path(agentlab.__file__).parent.parent.parent / "reproducibility_journal.csv"
326+
)
325327
except InvalidGitRepositoryError:
326-
logging.warning("Could not find a git repository. Saving the journal to the results directory."
327-
"To add to the journal, git clone agentlab and use `pip install -e .`")
328+
logging.warning(
329+
"Could not find a git repository. Saving the journal to the results directory."
330+
"To add to the journal, git clone agentlab and use `pip install -e .`"
331+
)
328332
journal_path = RESULTS_DIR / "reproducibility_journal.csv"
329333

330334
logging.info(f"Appending to journal {journal_path}")

0 commit comments

Comments
 (0)