Completed
Push — master ( 2b17b1...77ef8d )
by Simon
03:52
created

hyperactive.memory.paths.get_meta_path()   A

Complexity

Conditions 1

Size

Total Lines 3
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 3
nop 0
dl 0
loc 3
rs 10
c 0
b 0
f 0
1
# Author: Simon Blanke
2
# Email: [email protected]
3
# License: MIT License
4
5
import os
6
import datetime
7
8
9
def get_meta_path():
10
    current_path = os.path.realpath(__file__)
11
    return current_path.rsplit("/", 1)[0] + "/meta_data/"
12
13
14
def get_model_path(model_id):
15
    return model_id + "/"
16
17
18
def get_date_path(datetime):
19
    return "run_data/" + datetime + "/"
20
21
22
def get_datetime():
23
    return datetime.datetime.now().strftime("%d.%m.%Y - %H:%M:%S")
24