From fb2b3c2d728594566b653ac397c44f0b7c4b0add Mon Sep 17 00:00:00 2001 From: Alex38Lyon <55714436+Alex38Lyon@users.noreply.github.com> Date: Fri, 31 Jan 2025 14:44:43 +0100 Subject: [PATCH] Scripts --- Scripts/README.en.rst | 11 +++++++---- Scripts/README.fr.rst | 9 ++++++--- Scripts/README.rst | 2 +- 3 files changed, 14 insertions(+), 8 deletions(-) diff --git a/Scripts/README.en.rst b/Scripts/README.en.rst index 2f9d7d0..42f1ba1 100644 --- a/Scripts/README.en.rst +++ b/Scripts/README.en.rst @@ -10,11 +10,14 @@ Script to convert a database (.sql) generated by Therion into Compass (.dat) and (.mak) files Usage: python pyThtoDat.py + How to use: - Export the .sql file with Therion using the following command in the .thconfig file: 'export database -o Outputs/database.sql' - Select the database.sql file to process in the window - Define an optional prefix for each station + Result: (.dat) and (.mak) files are created in the same folder + Note: Stations are named using the order number from the Therion database, not the numbers from the (.th) files ------------ @@ -23,9 +26,9 @@ pyCreate_th2 Script to automate the creation of folders and files for a .th file -Define the different variables in the config.ini file -Create the necessary folders based on the 'template' folder -Generate the required files: th, th2, -tot.th -Create scraps with topo stations +- Define the different variables in the config.ini file +- Create the necessary folders based on the 'template' folder +- Generate the required files: th, th2, -tot.th +- Create scraps with topo stations Usage: python pyCreate_th2.py diff --git a/Scripts/README.fr.rst b/Scripts/README.fr.rst index 85cda04..f1abf6b 100644 --- a/Scripts/README.fr.rst +++ b/Scripts/README.fr.rst @@ -11,12 +11,15 @@ en fichier Compass (.dat) et (.mak) Usage : python pyThtoDat.py -- Utilisation : + +Utilisation : - Exporter le fichier .sql avec Therion, commande dans fichier .thconfig: 'export database -o Outputs/database.sql' - Sélectionner le fichier database.sql à calculer dans la fenêtre - Définir l’éventuel préfix à chaque station -- Résultat : fichiers (.dat) et (.mak) dans le même dossier -- Attention : Les stations sont nommées avec le numéro d'ordre de la BD Therion et pas les numéros des fichiers (.th) + +Résultat : fichiers (.dat) et (.mak) dans le même dossier + +Attention : Les stations sont nommées avec le numéro d'ordre de la BD Therion et pas les numéros des fichiers (.th) ------------ pyCreate_th2 diff --git a/Scripts/README.rst b/Scripts/README.rst index 89dc8eb..78ef88f 100644 --- a/Scripts/README.rst +++ b/Scripts/README.rst @@ -4,6 +4,6 @@ README - Scripts 🇫🇷 [Lire en Français](scripts/README.fr.rst) -🇬🇧 **[Read in English](scripts/README.en.rst)** +🇬🇧 **[Read in English](https://github.com/Alex38Lyon/Synthese-PSM_LARRA/blob/main/Scripts/README.en.rst)**