Skip to content
Snippets Groups Projects

Feat/dss cimprove master rebasing

Closed Andrey Samartsev requested to merge feat/DSSCimproveMasterRebasing into feat/DSSCdarksImprove
2 files
+ 10
9
Compare changes
  • Side-by-side
  • Inline
Files
2
#!/usr/bin/env python
import argparse
import copy
from datetime import datetime
import nbconvert
import nbformat
@@ -9,12 +8,10 @@ from nbparameterise import (
extract_parameters, replace_definitions, parameter_values
)
import os
from os import chdir
import pprint
import re
from subprocess import Popen, PIPE, check_output
from subprocess import check_output
import sys
from uuid import uuid4
import warnings
from .settings import *
from .notebooks import notebooks
@@ -691,7 +688,7 @@ def make_par_table(parms, temp_path, run_uuid):
:param parms: parameters of the notebook
:param temp_path: path to temporary directory for job outputs
:param run_uuid: inset of folder name containing job output
:param run_uuid: inset of folder name containing timestamp(fmt: YMD_HMS).
"""
# Add space in long strings without line breakers ` ,-/` to
@@ -818,7 +815,7 @@ def run():
title = title.rstrip()
run_uuid = uuid4()
run_uuid = f"t{datetime.now().strftime('%y%m%d_%H%M%S')}"
# check if concurrency parameter is given and we run concurrently
if not has_parm(parms, concurrency["parameter"]) and concurrency["parameter"] is not None:
Loading