File tree Expand file tree Collapse file tree 1 file changed +9
-5
lines changed
Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Original file line number Diff line number Diff 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 } " )
You can’t perform that action at this time.
0 commit comments