Total Complexity | 4 |
Total Lines | 24 |
Duplicated Lines | 0 % |
Changes | 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 |