-
Notifications
You must be signed in to change notification settings - Fork 12
/
gen_oasis_distr.py
41 lines (32 loc) · 1.07 KB
/
gen_oasis_distr.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#!/usr/bin/python
# -*- coding: utf-8 -*-
# ************************************************************
#
# IMITATOR
#
# Create the _oasis file for IMITATOR
#
# Etienne Andre
#
# Université Sorbonne Paris Nord, LIPN, CNRS, France
#
# Created : 2014/08/18
# Last modified: 2015/07/22
# ************************************************************
# This script copies oasis-config-distr into _oasis
# ************************************************************
# IMPORTS
# ************************************************************
from gen_oasis import write_to_oasis
# ************************************************************
# CONSTANTS
# ************************************************************
# Files
input_file_path = 'oasis-config-distr'
output_file_path = '_oasis'
# WARNING: the rest of this file is identical to gen_oasis.py
# ************************************************************
# GO
# ************************************************************
if __name__ == '__main__':
write_to_oasis(input_file_path, output_file_path)