Skip to content
Snippets Groups Projects
Commit bf5f0a19 authored by George Marchment's avatar George Marchment
Browse files

update

parent e32b7170
No related branches found
No related tags found
No related merge requests found
Pipeline #13206 passed with stages
in 1 minute and 23 seconds
......@@ -35,7 +35,10 @@ class Workflow:
def fill_log(self):
current_directory = os.getcwd()
os.chdir("/".join(self.nextflow_file.get_file_address().split("/")[:-1]))
repo = "/".join(self.nextflow_file.get_file_address().split("/")[:-1])
if(repo==''):
repo = current_directory
os.chdir(repo)
try:
os.system(f"git log --reverse > temp_{id(self)}.txt")
with open(f'temp_{id(self)}.txt') as f:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment