mirror of
https://github.com/davrot/gevi.git
synced 2025-04-20 14:16:41 +02:00
Update stage_5_convert_metadata.py
This commit is contained in:
parent
a33172f38b
commit
6d8a7fbbbc
1 changed files with 4 additions and 4 deletions
|
@ -6,13 +6,13 @@ from functions.get_trials import get_trials
|
|||
from functions.get_experiments import get_experiments
|
||||
|
||||
|
||||
def converter(filename: str = "config_M_Sert_Cre_49.json") -> None:
|
||||
def converter(config_filename: str = "config_M_Sert_Cre_49.json") -> None:
|
||||
|
||||
if os.path.isfile(filename) is False:
|
||||
print(f"{filename} is missing")
|
||||
if os.path.isfile(config_filename) is False:
|
||||
print(f"{config_filename} is missing")
|
||||
exit()
|
||||
|
||||
with open(filename, "r") as file:
|
||||
with open(config_filename, "r") as file:
|
||||
config = json.loads(jsmin(file.read()))
|
||||
|
||||
raw_data_path: str = os.path.join(
|
||||
|
|
Loading…
Add table
Reference in a new issue